-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
transport was disconnected, cannot call "fetchModule" #12611
Comments
I can't seem to reproduce this, but it looks like a race condition happening. Can you share a stacktrace of the error? |
This is the stacktrace when running with --verbose:
|
Might not be helpful at all, but I got the same issue today when introducing a custom Vite plugin to a SvelteKit project (no Astro specifics). Problem seems to be plugin A is generating some modules that were being imported by plugin B. I also noticed that HMR is broken when this error is observed. In my case shifting plugin order, using different hook, and playing around with |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Modifying tsconfig.json while the dev server is running throws a "transport was disconnected, cannot call "fetchModule"" exception
Steps:
What's the expected result?
No exception should be thrown
Link to Minimal Reproducible Example
https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog?file=tsconfig.json
Participation
The text was updated successfully, but these errors were encountered: