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'.
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/install.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! Please include the following file with any support request:
npm ERR! /home/vagrant/Code/curiosity/npm-debug.log
Please read the contributing documentation on how to correctly file an
installation bug. Noone has supplied the information required for us to
help.
The first step is to delete your node_modules and run npm install.
On 22 Jun 2016 4:33 AM, "jamesob" [email protected] wrote:
+1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1601#issuecomment-227530507,
or mute the thread
https://github.com/notifications/unsubscribe/AAjZWCZgVfGZGPV3_JtxUE2ueecvayazks5qOC5cgaJpZM4I6af7
.
I have the same error, here's the log:
npm-debug.txt
Hello, We're experiencing the same issue now also.
debug files attached.
I've tried installing with flag --unsafe-perm and it worked.
sudo npm install --unsafe-perm node-sass
That didn't work for us... and running npm as sudo is not recommended.
Is anyone even looking into this bug?
I'm getting the same error.
npm-debug.txt
@kimmings you appear to have a problem with your npm setup. Looks like http://stackoverflow.com/a/31193300/455535 given the first line in the file
I had this error on Ubuntu 16.04 due to an install issue with nodejs and the wrong path setting
To fix it I created the following symlink: ln -s /usr/bin/nodejs /usr/bin/node
Now it works.
@omahm Your solution worked like a charm for me. Thanks.
@nschonni thanks for the tip, however my Path only has C:\Program Files\nodejs in it.
node and npm work fine... it will run and install other packages, just won't install node-sass.
@kimmings thanks for testing that. All the logs contain Failed to exec install script which means you aren't even hitting our install scripts. If you search other native binary repos (SqlLite, PhantomJs, etc..) this issue always gets bounce back to NPM because it indicates a problem with either the NPM or Node install on the machine. We can't really troubleshoot this since you aren't even executing our code when it bails out.
@nschonni many thanks
npm install --unsafe-perm node-sass Worked for me, thanks imrealashu!
-s /usr/bin/nodejs /usr/bin/node link already existed and is needed, thanks omahm!
My setup is:
all programs are running as root sudo -l
Ubuntu 16.04 ( with all updates on and gnome desktop updated on 1/07/20016 )
Node: 4.1.2
npm: 3.10.2
Worked for me like this:
npm cache clean-s /usr/bin/nodejs /usr/bin/nodenpm i--unsafe-perm node-sassNOTE 1:
I noticed node-sass installed successfully before I updated it on 1/07/20016
NOTE 2:
This error occurs when using Virtualbox shared folder with windows 7.
npm i--unsafe-perm node-sass fixes it
ln -s /usr/bin/nodejs /usr/bin/node
fixed this for me (ubuntu:16.04)
@omahm Thanks... that symlink works on me!!!
Symlink WORKS!
Symlink works for me too, Thanks alot
can someone help me? i get these error messages
npm WARN enoent ENOENT: no such file or directory, open '/home/anton/package.json'
npm WARN anton No description
npm WARN anton No repository field.
npm WARN anton No README data
npm WARN anton No license field.
i am using ubuntu budgie if that changes some things up
i already tried every help given in this forum
nevermind guys i just realized my stupid foult....
@WolfAtNight what was your solution? I got the same errors messages that you got after trying to install it.
1- symlink: ln -s /usr/bin/nodejs /usr/bin/node
Will work just run this command and
2- then run "npm install gulp-sass " and it will work.
You can also, on Ubuntu/Debian, do:
sudo apt-get install nodejs-legacy
And then all this stuff will work fine.
Hi
npm cache clean --force
Work for me
Had the same problem, turned out I had kept my project at ~/
Moving it to a non-sudo user worked for me.
I can't say why root/~/
Most helpful comment
I had this error on Ubuntu 16.04 due to an install issue with nodejs and the wrong path setting
To fix it I created the following symlink: ln -s /usr/bin/nodejs /usr/bin/node
Now it works.