-
-
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
404 /@id/astro/runtime/client/astro_runtime_client_hmr__js.js.map
#4219
Comments
Tracked it down to this change, only happening on Windows: https://github.com/withastro/astro/pull/4162/files This may actually be a Vite bug, since the path itself looks incorrect and I don't think we generate that one: @natemoo-re why the URL was changed? can we change back to the way it was? @bluwy any idea why the sourcemap would be generated this way, only on Windows? |
I just got this on Ubuntu 20.0.4 after migrating from astro 1.0.0-beta.58 to astro 1.0.1 |
I can reproduce this on macos too. It's because the file at I am also seeing this issue for |
I think I figured out how the sourcemap url got there. So it seems like when we import But I also think it's not quite right to use Happy to chat with someone to figure out the best solution here. I did tried reverting #4162 and it worked when installing astro as a copy, not symlink. |
For reference and in case it's useful, it's also happening on EndeavourOS |
Thanks for the investigation @bluwy! It sounds like @natemoo-re didn't have a specific reason to change to |
What version of
astro
are you using?1.0.0-rc.8
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows 10
Describe the Bug
Problem
astro dev
In Chrome devtool
in terminal,
Additional Notes
1.0.0-rc.4, 5, 6: 404 didn't occur
1.0.0-rc.7, 8, 1.0.0: the problem (404) occurs
Link to Minimal Reproducible Example
https://github.com/kagankan/astro-sample/tree/41c58b10d639dbdecd9b020b331fa8ee94517ebc
Participation
The text was updated successfully, but these errors were encountered: