sugandh_g sugandh_g - 3 years ago 202
Node.js Question

Unable to install node-sass in my project

I am doing wes-bos learn node course. When I run npm start it shows - cannot find module node-sass. And when I try to run - npm install node-sass --save, it gives me the following errors.


Answer Source

Try to rebuild node-sass like this:

npm rebuild node-sass

if that doesn't work then i suggest to delete the node-modules and npm cache folder and do npm install , to install all your dependencies again. make sure you have a package.json file with all your dependencies listed.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download