Netlify build command with error RangeError: Maximum call stack size exceeded during functions bundling

  • App: tik2.netlify.app
  • DNS issues? No
  • Build problems?Yes, latest deploy: Netlify App

The error:
`Internal error during “Functions bundling”
Error message
RangeError: Maximum call stack size exceeded

Error location
During Functions bundling
at Array.filter ()
at shouldTranspile (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:65:38)
at /opt/homebrew/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:74:67
at Array.every ()
at shouldTranspile (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:74:45)
at /opt/homebrew/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:74:67
at Array.every ()
at shouldTranspile (/opt/homebrew/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:74:45)
at /opt/homebrew/lib/node_modules/netlify-cli/node_modules/@netlify/zip-it-and-ship-it/dist/runtimes/node/bundlers/nft/es_modules.js:74:67
at Array.every ()

Resolved config
build:
environment:
- NODE_VERSION
publish: /Users/thome/fun/public
publishOrigin: config
functionsDirectory: /Users/thome/fun/functions`

Hey @tik9

Can you try the solutions offered in this post

1 Like