TypeError: Failed to fetch dynamically imported module _nuxt/login
See original GitHub issueEnvironment
Production
Reproduction
Describe the bug
My app on Production is facing many issues Failed to fetch dynamically imported module
or 403
issue. This is how Sentry log the error:
Luckily, this error doesn’t break the application. My website still runs normally while Chrome’s Devtool is logging the error.
Have anyone faced the same issue and have idea to fix it?
Thank all.
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Failed to fetch dynamically imported module" on Vue/Vite ...
We have a vanilla Vue/Vite setup and I'm receiving TypeError: Failed to fetch dynamically imported module on sentry logs.
Read more >Failed to fetch dynamically imported module | Blazor Forums
Unhandled exception rendering component: Failed to fetch dynamically imported module: https://####.net/_content/Syncfusion.
Read more >Failed to fetch dynamically imported module : r/sveltejs - Reddit
It works as expected locally in dev and preview. The problem is that when deployed to Vercel (https://sveltekit-firebase-ssr.vercel.app/) SSR ...
Read more >[solved] Failed to fetch dynamically loaded module - help
Hi, so I have the following in a React component: import(`./some_path/${someMDXfile}.mdx`).then(MDX => { Content.current = MDX.default ...
Read more >failed to fetch dynamically imported module - You.com | The AI ...
I already tried all methods in all discussion, but still can't deploy in my server, always mentioned me: TypeError: Failed to fetch dynamically...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do sometimes get:
which triggers a 404 page:
How are you hosting your site? Is there any reason your static assets are behind auth?
@ziyali my issue is Nuxt loads too many modules at a time. On PROD, the site fetches & prefetches > 100 requests per second which exceed our server’s rate limit (100r/s). Therefore, some of my modules cannot load “Failed to fetch…”.
The rate limit also happens if users access the page at the same time & send too many requests.
If u’re facing the same problem u can try troubleshooting ur rate limit by turning it off. There’s is nothing to do for now, we have to wait. You can keep track the solution with Nuxt here: https://github.com/nuxt/framework/issues/4475
Cheers