Sourcemap for "/iframe.html" points to missing source files
See original GitHub issueDescribe the bug
@sapphi-red, opening an issue so we can keep track of an issue introduced in 2.9.0-beta.6, and not present in 2.9.0-beta.4, so it should be related to:
Users are seeing logs:
Sourcemap for "/iframe.html" points to missing source files
See https://github.com/eirslett/storybook-builder-vite/pull/288
And
Sourcemap for "/root/Projects/xyz/frontend/index.html" points to missing source files
Sourcemap for "/root/Projects/xyz/frontend/src/App.vue" points to missing source files
Reproduction
https://github.com/eirslett/storybook-builder-vite/pull/288
System Info
.
Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it’s a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Vite - "Source map points to missing source files"
All of a sudden I'm getting this error for practically all modules installed. Sourcemap for "C:/ ...
Read more >React CSS sourcemaps point to missing source files
I'm getting this warning in console: Sourcemap for "/Users/me/my-project/node_modules/@ionic/react/css/normalize.css" points to missing ...
Read more >DevTools failed to load source map - Microsoft Q&A
Per my research you could try to uncheck "Enable JavaScript source maps" in developer tools settings. Press F12 > Settings > Uncheck "Enable ......
Read more >MiniCssExtractPlugin - webpack
Please use html-webpack-plugin for automatic generation link tags or create index.html file with link tag. Warning. Source maps works only for source-map ......
Read more >Angular workspace configuration
For Universal, you can reduce the code rendered in the HTML page by setting styles optimization to true . Source map configurationlink. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve got a similar issue in https://github.com/vitebook/vitebook/issues/71 and https://github.com/vitebook/vitebook/issues/72.
To reproducce this error you should be able to do the following:
The issue can also be observed in https://stackblitz.com/github/vitebook/vitebook/tree/main/examples/svelte-kit?file=package.json
Thanks for testing @Ragura
As we are discussing in #contributing in Vite Land, we are going to have a new experimental
css.devSourcemap
option disabled by default for Vite 2.9. So we can move on with the release and continue testing CSS sourcemaps, hopefully removing the experimental status in 3.0 (we can evaluate also the performance implications once more users opt-in to re-evaluate the default then).