Next.js Discord

Discord Forum

Source maps causing maximum call stack size to be exceeded

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
I'm currently migrating from next 13 -> 14 and trying to start using the app directory. However, every time I boot the server locally, I get a "maximum call stack size exceeded" error, pointing to the source map implementation. If I turn off source maps (both in tsconfig.json and next.config.js) this fixes the issue. How can I run with source maps without having this issue?

0 Replies