Answer the question
In order to leave comments, you need to log in
Gulp doesn't find Sass. How to fix?
When launching Gulp, I get an error that Sass was not found
Already tried to fix it by installing Sass separately:
Can you tell me how to solve the problem?
Answer the question
In order to leave comments, you need to log in
I don’t know if it’s still relevant, but I’ll write, suddenly it will help someone ... I had the same problem ... I climbed the forums for a long time in search of a solution, in the end I decided this: I
completely deleted the node_modules folder,
then I did npm install without sudo !!
then npm install gulp-sass also without sudo
After that everything worked!
somewhere it was mentioned that the problem is in access rights.... but this is not accurate)
ps: os - hight sierra 10.13.4
npm i gulp-sass
Is that how you tried to install it? Were there any mistakes?
Perhaps it will be taken as an offense, but change the OS to lamp Linux and many problems will disappear by themselves :)
In Linux, there is also a really similar bug, about access rights during a global installation,
which for some reason NPM does not fix.
It is treated in Linux with a couple of commands:
mkdir ~/.npm-global
and
npm config set prefix '~/.npm-global'
and
export PATH=~/.npm-global/bin:$PATH
and
source ~/.profile
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question