-
Notifications
You must be signed in to change notification settings - Fork 938
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
[vite] Failed to load source map react-quill-new/dist/quill.snow.css #1025
Comments
I added @import 'react-quill-new/dist/quill.snow.css'; into my custom css files and deleted the import 'react-quill-new/dist/quill.snow.css' line from my js/ts files and supress the warning for me |
Thanks @Yogesh0arya |
hi @Yogesh0arya, it is added on my index.css? because i dont have any custom css except from vite isntallation only. i followed your suggestion but the warning still occured. Could you or any one help me please? here, error msg after i updated: 10.25.08 [vite] Failed to load source map for C:/Users/teguh/Documents/Projects/Learnings/lab/blog-app-01/client/node_modules/react-quill-new/dist/quill.snow.css. Here is the jsx file:
|
Hi @project-teguh Index.css file: Remove import 'react-quill-new/dist/quill.snow.css'; from your jsx file
|
I get a warning, where it says " [vite] Failed to load source map react-quill-new/dist/quill.snow.css."
warning : [vite] Failed to load source map for /....../client/node_modules/react-quill-new/dist/quill.snow.css.
Error: An error occurred while trying to read the map file at quill.snow.css.map
Error: ENOENT: no such file or directory, open '/ ...../client/node_modules/react-quill-new/dist/quill.snow.css.map'
at async open (node:internal/fs/promises:639:25)
at async Object.readFile (node:internal/fs/promises:1249:14)
at async extractSourcemapFromFile (file://....../client/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:21001:53)
at async loadAndTransform (file://...../client/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:51892:27)
There is no issues, all working fine, its just this warning pops up in the terminal.
I think maybe it's related to build. Any idea how to remove this warning?
The text was updated successfully, but these errors were encountered: