After adding node-sass in package.json as dev dependecies, I'm experiencing the following error
I'm using it like "node-sass": "^4.5.0",
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 135
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! /home/rohitn/unistore/npm-debug.log
Sorry, you didn't follow the issue template, so we can't help you.
Too bad that this wasn't answered because "rules" weren't followed. I hope nschonni is embarrassed that he makes him self look like he has a stuck up his rear any time someone has this same issue.
By not following the instructions there is not enough information to help. The output provided tells us nothing. The "rules" exist so that we can help.
Something similar happened to us. Given this comment I think it may be related to internet issues during the install.
Most helpful comment
Too bad that this wasn't answered because "rules" weren't followed. I hope nschonni is embarrassed that he makes him self look like he has a stuck up his rear any time someone has this same issue.