N
Nuxt6mo ago
Maxi

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:
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/ui": "^2.17.0",
"@nuxtjs/seo": "^2.0.0-rc.11",
"@nuxtjs/tailwindcss": "^6.12.0",
"nuxt": "^3.12.2"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/ui": "^2.17.0",
"@nuxtjs/seo": "^2.0.0-rc.11",
"@nuxtjs/tailwindcss": "^6.12.0",
"nuxt": "^3.12.2"
},
6 Replies
Maxi
MaxiOP6mo ago
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.
Ragura
Ragura6mo ago
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.
Maxi
MaxiOP6mo ago
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.
Ragura
Ragura6mo ago
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.
Maxi
MaxiOP6mo ago
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...
Jon 久世
Jon 久世6mo ago
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.
Want results from more Discord servers?
Add your server