This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Description
ubuntu 14.04
node v0.12.2 (compile from source)
npm v2.7.4
when installing node-sass locally npm install node-sass, got this error:
-
> [email protected] install /root/sandbox/node_modules/node-sass
> node scripts/install.js
module.js:338
throw err;
^
Error: Cannot find module '/root/sandbox/node_modules/node-sass/scripts/install.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
npm ERR! Linux 3.13.0-49-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-sass"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node scripts/install.js'.
Tried [email protected], same error.
But when install globally npm install -g node-sass install successful.
It will be helpful if can install locally per project.
Any help / hints would be very appreciated.