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
Nuxt 3, sourcemap points to missing file warning, when using external script files in vue template. #14124
Comments
same issue ,
|
Note to self or whoever looks at this first: Issue can be resolved by prefixing with |
I'm sorry, it's the virtual module id I'm talking about, and not something you can do. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Getting this error after upgrading to Nuxt
|
This should be resolved in the latest Vite release (v4.2.1) via vitejs/vite#12444. Perhaps try refreshing your lockfile and confirming? |
That error is gone when I run this now But the login only works after downgrading this Anyway thanks Dani 💚 |
I still have the warning messages after upgrading lockfile and cleaning yarn cache and node_modules.
|
I just loaded a normal scss file. but export default defineNuxtConfig({
sourcemap: { server: true, client: false }
}) |
Same issue. |
Same issue. |
nuxt:3.5.0 |
Same issue. |
1 similar comment
Same issue. |
@horizon188 @VegasChickiChicki @shynline you can use sourcemap: false in nuxt.config |
same issue |
1 similar comment
same issue |
Environment
Windows_NT
v16.13.2
3.0.0-rc.3
npm@8.3.0
vite
privateRuntimeConfig
,publicRuntimeConfig
,pageTransition
,css
,app
,algolia
,components
,router
,modules
,build
,vite
,hooks
,nitro
@vueuse/nuxt@8.6.0
,~/modules/sitemap
,@nuxtjs/algolia@0.9.2
,~/modules/robots
,~/modules/staticWebApp
-
Reproduction
https://stackblitz.com/edit/github-jbyf5k-sa9vua?file=pages%2Findex.vue
Describe the bug
When using external script files it gives an warning pr. import in my solution:
"Sourcemap for "C:/Folder/repo/filepath.page.ts" points to missing source files ."
Is there a confirguration to disable sourcemap for at certain suffix file? I think this is poitning to vite in nuxt.
Additional context
I can see there is a similar issue on react regarding this warning. vitejs/vite#5438
Logs
No response
The text was updated successfully, but these errors were encountered: