Next 13 and weird memory leaks
Hey folks, I've been playing with the app router in a new project of mine the last couple of days and i18n is the bane of my existence right nowI'm getting errors I can't quite figure out and not even Stackoverflow could come to help so I'm hoping maybe you guys have some insight. It all started when I migrated my React app to Next and experimented with internationalization and the /app/[lang] directory.
Here's the repo for reference: https://github.com/alvarnydev/buythattrack.com/tree/dev
Sometimes I'm getting this error: https://stackoverflow.com/questions/67652612/chunkloaderror-loading-chunk-node-modules-next-dist-client-dev-noop-js-failed
Sometimes I'm just getting param undefined as seen in the first screenshot.
In all of those cases the local dev server starts to hang and memory consumption shoots through the roof (as seen in the second screenshot). Weirdly enough, if I publish the app to Vercel it works just fine. Any pointers would be much appreciated!
GitHub
GitHub - alvarnydev/buythattrack.com at dev
A tool to help you buy your tracks. . Contribute to alvarnydev/buythattrack.com development by creating an account on GitHub.
Stack Overflow
ChunkLoadError: Loading chunk node_modules_next_dist_client_dev_noo...
I've been following the basics tutorial on the Next.js website and when I got to the Global Styles step, I started getting the following runtime error:
ChunkLoadError: Loading chunk
1 Reply
I saw a GitHub issue about this yesterday
It has to deal with the app router
But this just started becoming a thing
Is this happening to you during build time or just randomly?