zip-it-and-ship-it
zip-it-and-ship-it copied to clipboard
coreStep in Internal error during "Functions bundling"
Error in Netlify Build
coreStep in Internal error during "Functions bundling" Unexpected token } in JSON at position 251
Stacktrace
/opt/buildhome/node-deps/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:24 - patchESMPackage
Created by Eduardo Boucas via Bugsnag
We use esbuild to transpile ESM functions when using NFT. Unfortunately, esbuild seems to error when it encounters a malformed package.json
, leading to this problem.
We should upgrade our esbuild fork and see if the problem persists after that (cc @Skn0tt).
we have updated our esbuild fork, is this something that still persists?