node-sass: build fails on Debian 7.0 x64
As a root I do: npm -g install node-sass
Here is the result:
/root/.nvm/v0.10.26/bin/node-sass -> /root/.nvm/v0.10.26/lib/node_modules/node-sass/bin/node-sass
> node-sass@0.8.6 install /root/.nvm/v0.10.26/lib/node_modules/node-sass
> node build.js
sh: 1: node: Permission denied
npm ERR! node-sass@0.8.6 install: `node build.js`
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the node-sass@0.8.6 install script.
npm ERR! 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 build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.2.0-4-amd64
npm ERR! command "/root/.nvm/v0.10.26/bin/node" "/root/.nvm/v0.10.26/bin/npm" "-g" "install" "node-sass"
npm ERR! cwd /root
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0
Any chance to fix it?
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 28 (13 by maintainers)
I got a similar error with (node 5.7.0, npm 3.7.3, node-sass@3.4.2, aliyun, ubuntu) like this:
And after two days googling, i found this actually solved my problem, referred sourcode