Started getting a build error on vercel with gatsby
project builds fine locally. here is the log
12:10:48.019 failed Building production JavaScript and CSS bundles - 0.648s
12:10:48.023 ERROR #98123 WEBPACK
12:10:48.023 Generating JavaScript bundles failed
12:10:48.024 [BABEL] /vercel/workpath0/.cache/production-app.js: No "exports" main defined in /vercel/workpath0/node_modules/@babel/helper-compilation-targets/package.json
12:10:48.024 File: .cache/production-app.js
12:10:48.072 not finished run queries - 0.718s
12:10:48.174 npm ERR! code ELIFECYCLE
12:10:48.174 npm ERR! errno 1
12:10:48.178 npm ERR! [email protected] build: `gatsby build`
12:10:48.178 npm ERR! Exit status 1
12:10:48.178 npm ERR!
12:10:48.178 npm ERR! Failed at the [email protected] build script.
12:10:48.178 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
12:10:48.192 npm ERR! A complete log of this run can be found in:
12:10:48.192 npm ERR! /vercel/.npm/_logs/2021-01-06T12_10_48_178Z-debug.log
12:10:48.204 Error: Command "npm run build" exited with 1
12:10:52.216 Done with "package.json"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…