C
C
calvin_orange2018-04-05 23:01:04
Sass
calvin_orange, 2018-04-05 23:01:04

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?
5ac680054dd71022905896.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
codecreator, 2018-06-11
@codecreator

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

E
Egor Zhivagin, 2018-04-05
@Krasnodar_etc

npm i gulp-sass
Is that how you tried to install it? Were there any mistakes?

A
Alexander Reshetnyak, 2018-07-29
@Vampireos

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 question

Ask a Question

731 491 924 answers to any question