Node-sass: It always had problems when I 'npm install node-sass' or 'npm install sass',help me

Created on 1 Apr 2017  路  4Comments  路  Source: sass/node-sass

It always had problems when I 'npm install node-sass' or 'npm install sass', it showed

  • npm ERR! Windows_NT 6.1.7601
  • npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\
  • \bin\npm-cli.js" "install" "node-sass" "--save--dev"
  • npm ERR! node v6.10.0
  • npm ERR! npm v3.10.10
  • npm ERR! code ELIFECYCLE

  • npm ERR! Exit status 1
  • npm ERR!
  • npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
  • npm ERR! Make sure you have the latest version of node.js and npm installed.
  • npm ERR! If you do, this is most likely a problem with the node-sass package,
  • npm ERR! not with npm itself.
  • npm ERR! Tell the author that this fails on your system:
  • npm ERR! node scripts/build.js
  • npm ERR! You can get information on how to open an issue for this project with:
  • npm ERR! npm bugs node-sass
  • npm ERR! Or if that isn't available, you can get their info via:
  • npm ERR! npm owner ls node-sass
  • npm ERR! There is likely additional logging output above.


    • npm ERR! Please include the following file with any support request:

  • npm ERR! E:\Study\mySlideApp\myapp\npm-debug.log

what should I do for this problem?

Most helpful comment

Sorry, you didn't follow the issue template, so we can't help you.

All 4 comments

I have the same issue - also tried updating my version of Node and npm...

@YepFury What ended up working for me (After trying to update Node via homebrew in terminal, to no avail) - I just went to the download page for Node.js and re-downloaded the latest packaged and installed it through the regular installation ui. https://nodejs.org/en/download/

@feebala I also re-downloaded nodejs, and I also 'npm install -g npm', it still showed error msg, I really don't konw how to resolve

Sorry, you didn't follow the issue template, so we can't help you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

harukaeru picture harukaeru  路  3Comments

ruchern-chong picture ruchern-chong  路  3Comments

NathanKleekamp picture NathanKleekamp  路  4Comments

mkbctrl picture mkbctrl  路  4Comments

primiano picture primiano  路  3Comments