Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to fetch dynamically imported module _app/undefined #11

Closed
david-bergman opened this issue Jan 14, 2022 · 7 comments
Closed

Failed to fetch dynamically imported module _app/undefined #11

david-bergman opened this issue Jan 14, 2022 · 7 comments

Comments

@david-bergman
Copy link

Once deployed as an app to google cloud, I get this error on page load, or on refreshing the browser.

Failed to fetch dynamically imported module: https://xxxxx.ew.r.appspot.com/_app/undefined

it seems to happen as a result of an extra item inserted into the nodes array - import("/_app/undefined") when hydrating a page as below

image

Seems to relate to a similar issue across other cloud providers (see issue with vercel below)

sveltejs/kit#3308

As soon as I use page links, ie. by clicking on links within the pages (not refreshing the browser) everything functions and navigates as expected.

@david-bergman
Copy link
Author

issue seems sporadic, I am going to close it until I use it more ...

@HalfdanJ
Copy link
Owner

Hmm I've also seen this error myself once, and it then disappeared before I could debug it.

@HalfdanJ
Copy link
Owner

Since the same happens in other adapters, it leaves me to think it's a bug in the new adapter API.

@david-bergman
Copy link
Author

I thought maybe its the version of node I was using to run the build ? I was using v14.16.1 , I tried v16.0.0 as well, same result once deployed...

pretty consistent error for me now _app/undefined - Failed to fetch dynamically imported module

@david-bergman
Copy link
Author

I am just going to reopen, in case the possible bug in the adapter api is helped by this...

image

@david-bergman david-bergman reopened this Jan 17, 2022
@HalfdanJ
Copy link
Owner

Any chance you can share some steps to reproduce?

@david-bergman
Copy link
Author

this seemed to have been caused by this library (https://github.com/zerodevx/svelte-toast), once removed I no longer able to reproduce the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants