question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sourcemap for "/iframe.html" points to missing source files

See original GitHub issue

Describe 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

See discussion in Vite Land

Reproduction

https://github.com/eirslett/storybook-builder-vite/pull/288

System Info

.

Used Package Manager

pnpm

Logs

No response

Validations

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
Myrmodcommented, Apr 7, 2022

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:

git clone https://github.com/vitebook/vitebook.git
cd vitebook/examples/svelte-kit
pnpm install
pnpm vitebook:dev

The issue can also be observed in https://stackblitz.com/github/vitebook/vitebook/tree/main/examples/svelte-kit?file=package.json

2reactions
patak-devcommented, Mar 25, 2022

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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found