patternjavascriptreactCritical
ChunkLoadError: Loading chunk node_modules_next_dist_client_dev_noop_js failed
Viewed 0 times
loadingfailedchunkloaderrornode_modules_next_dist_client_dev_noop_jschunk
Problem
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:
Error 1:
Error 2:
I followed all the steps exactly and when I close the error pop-up, the app works fine.
If anyone can provide any guidance on this I'd appreciate it a lot!
ChunkLoadError: Loading chunk node_modules_next_dist_client_dev_noop_js failed.
(error: http://localhost:3000/_next/static/chunks/fallback/node_modules_next_dist_client_dev_noop_js.js)Error 1:
Error 2:
I followed all the steps exactly and when I close the error pop-up, the app works fine.
If anyone can provide any guidance on this I'd appreciate it a lot!
Solution
Delete the
It apparently is a cache issue. After browsing through GH Issues & various blog posts, my conclusion is that nobody knows what the heck is going on with this webpack-related error, probably caused by Next.js's behavior.
.next folder at the root of your project, relaunch your project, and force-refresh your page (Shift+F5 / Cmd+Shift+R) to remove the cache.It apparently is a cache issue. After browsing through GH Issues & various blog posts, my conclusion is that nobody knows what the heck is going on with this webpack-related error, probably caused by Next.js's behavior.
Context
Stack Overflow Q#67652612, score: 664
Revisions (0)
No revisions yet.