Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Npm module "grunt-sass" not found. Is it installed?

I am using windows 10. Have installed npm version 5.6.0,node v8.10.0 and Python 2.7.

Getting grunt-sass is not installed even after installing npm using the command "npm install". After that I installed grunt using command:

npm install -g grunt-cli

Also, sometimes get an error like

"Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime"

Any help will be really appriciated.

like image 950
Damodar Singh Avatar asked Mar 27 '18 06:03

Damodar Singh


1 Answers

  1. In your project folder where package.json exists, run:

    npm install
    
  2. However, if the grunt-sass does not exist in your package.json, run:

    npm install grunt-sass
    
  3. If you want it to be saved for future npm install, run:

    npm install grunt-sass --save
    
like image 97
Hans Yulian Avatar answered Sep 29 '22 13:09

Hans Yulian