TypeError: Failed to fetch dynamically imported module:
Does anyone have any idea why my Nuxt site doesn't work in the Arc browser?
I get no errors, it works fine in Chrome, Ff, Safari and localhost works too, but when I'm trying to open the production site it only shows the page for a split second and then it turns gray. The title of the site is also showing wrong, but again only in the Arc browser.
These are the dependencies, they should all be up to date:
6 Replies
Ohh the response code is 200 tough.
I did some testing and it seems to be due to the use of a nuxt/ui component, I'll look into it some more.
There's really no reason for Arc specifically to break your site (I use it all the time with Nuxt). But do look into extensions you might be using that you don't in the other browsers.
I actually got it to give me an error it seems to have somethinng todo with this:
TypeError: Failed to fetch dynamically imported module:
as well as this:
error caught during app initialization TypeError: Failed to fetch dynamically imported module: https://redacted/_nuxt/DoX0EoNj.js Caused by: TypeError: Failed to fetch dynamically imported module:
I looked into it online, but all the solutions provided online didn't help fixing this error.
You're going to have to try to reproduce this in a minial reproduction if you need help with this. It's too project specific.
GitHub
handle chunk loading errors that are not triggered by navigation · ...
Describe the feature When a chunk has been given a new name during build as it has changed, some clients will try to load the old chunk name. This results in errors like: TypeError: error loading d...
I'm also facing this issue... I tried to implement the suggested work-arounds from the above git issue thread but no luck.
I was able to resolve for now by totally deleting my Cloudflare page project, and re-deploying.