question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Failed to fetch dynamically imported module _nuxt/login

See original GitHub issue

Environment

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:closed
  • Created a year ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
danielroecommented, May 30, 2022

I do sometimes get:

CleanShot 2022-05-30 at 14 27 03@2x

which triggers a 404 page:

CleanShot 2022-05-30 at 14 28 37@2x

How are you hosting your site? Is there any reason your static assets are behind auth?

0reactions
dungonfqcommented, Jun 7, 2022

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found