node-sass: Installation of 3.5.1 fails

Getting:

00:01:24.100 npm info lifecycle node-sass@3.5.1~install: node-sass@3.5.1
00:01:24.124 
00:01:24.124 > node-sass@3.5.1 install /var/jenkins_home/workspace/build/node_modules/node-sass
00:01:24.124 > node scripts/install.js
00:01:24.125 
00:01:24.256 module.js:341
00:01:24.256     throw err;
00:01:24.256     ^
00:01:24.256 
00:01:24.256 Error: Cannot find module 'process-nextick-args'
00:01:24.256     at Function.Module._resolveFilename (module.js:339:15)
00:01:24.256     at Function.Module._load (module.js:290:25)
00:01:24.256     at Module.require (module.js:367:17)
00:01:24.256     at require (internal/module.js:16:19)
00:01:24.257     at Object.<anonymous> (/var/jenkins_home/workspace/build/node_modules/readable-stream/lib/_stream_readable.js:6:23)
00:01:24.257     at Module._compile (module.js:413:34)
00:01:24.257     at Object.Module._extensions..js (module.js:422:10)
00:01:24.257     at Module.load (module.js:357:32)
00:01:24.257     at Function.Module._load (module.js:314:12)
00:01:24.257     at Module.require (module.js:367:17)
00:01:24.281 npm info lifecycle node-sass@3.5.1~install: Failed to exec install script

additionally:

00:01:30.330  ERR! Linux 4.2.2-coreos-r1
00:01:30.330 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
00:01:30.330 npm ERR! node v5.9.0
00:01:30.330 npm ERR! npm  v3.7.3
00:01:30.330 npm ERR! code ELIFECYCLE
00:01:30.330 
00:01:30.330 npm ERR! node-sass@3.5.1 install: `node scripts/install.js`
00:01:30.330 npm ERR! Exit status 1
00:01:30.330 npm ERR! 
00:01:30.330 npm ERR! Failed at the node-sass@3.5.1 install script 'node scripts/install.js'.
00:01:30.330 npm ERR! Make sure you have the latest version of node.js and npm installed.
00:01:30.330 npm ERR! If you do, this is most likely a problem with the node-sass package,
00:01:30.330 npm ERR! not with npm itself.
00:01:30.330 npm ERR! Tell the author that this fails on your system:
00:01:30.331 npm ERR!     node scripts/install.js
00:01:30.331 npm ERR! You can get information on how to open an issue for this project with:
00:01:30.331 npm ERR!     npm bugs node-sass
00:01:30.331 npm ERR! Or if that isn't available, you can get their info via:
00:01:30.331 npm ERR!     npm owner ls node-sass
00:01:30.331 npm ERR! There is likely additional logging output above.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

@josephlaw unfortunately that doesn’t help, but following the troubleshooting documentation will.

Make sure to preserve all of the output, including the full npm log file, into to gist. Please do not post the output into this issue.

@vladgurovich Yeah, similar symptoms here. I can install node-sass in isolation (npm install node-sass), but npm install in a repo that pulls in node-sass as an indirect dependency doesn’t work.

We don’t use shrinkwrap, so I don’t think that is related.