O
O
olezhenka2018-02-15 17:45:20
Node.js
olezhenka, 2018-02-15 17:45:20

Why Error: Cannot find module 'gulp-sass' if the module is installed?

I work on windows 10. Gulp is installed.
there is gulp-sass in package-json, I installed it both globally and in my project, eventually I run it and see this:
Error: Cannot find module 'gulp-sass' I
also installed gulp-ruby-sass in the end, the same thing :(
Wrote npm update and reinstalled, the error remains.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Zhivagin, 2018-02-15
@Krasnodar_etc

npm i gulp-sasssure it doesn't help?
Throw the task code and variable declarations in gulpfile

V
Vladimir Tkachev, 2018-03-27
@VladimirTkachev

Maybe it needs to be imported into a file?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question