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
"Cannot find any of modules: sass,node-sass" although sass
installed
#622
Comments
Alright, I feel very dumb 😅 Although I checked before, I missed the old extension by James Birtles which was still installed. Upon removing the old extension and reloading VSCode, the message was gone |
The extension referred to above is Svelte for VS Code. |
And what extension to use instead of that? |
Those links are identical. old extension: https://marketplace.visualstudio.com/items?itemName=JamesBirtles.svelte-vscode Even with the new extension, after installing sass, I still got this error. Error disappeared after restarting VSCode. |
I fixed it by installing |
I needed to reload my vscode extension for svelte |
got this error after using node 18.1.0 on another project, returning to 17.5.0 and installing node-sass solved the problem. |
Describe the bug
On every single .svelte file the extension throws this error at me (copied from Output tab):
I have
svelte-preprocess
installed and its settings are insvelte.config.js
which looks like this:I have tried removing
implementation
and it didn't work. It also doesn't work when settingsass: true
. I didn't try usingnode-sass
since I need the Dart implementation specifically.The error appears even in places without scss code (see screenshot)
To Reproduce
Steps to reproduce the behavior:
svelte-preprocess
andsass
sass.implementation
to `require('sass')Expected behavior
Screenshots
System (please complete the following information):
Additional context
I am developing a Sapper app, not just Svelte.
The text was updated successfully, but these errors were encountered: