-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Unable to install node-sass 3.4.2 running node 4.2.1 & OS X 10.11.1 #1265
Comments
So it seems to install an invalid binding.node, but even when I replace the binding.node with one that works, I still can't complete an |
+1 I'm seeing this issue too
|
Also seeing this problem on Ubuntu 14.04, so I don't think it's OSX-specific. |
@awochna @danauclair regarding |
I am seeing a similar issue. I am currently running: OS X 10.11.1
|
@ackernaut: 👍 Seeing the same thing. |
+1 @ackernaut and @dseeto EDIT: I'm on a Debian 8 box, so it's not OSX specific. |
Same here... npm ERR! Linux 3.16.0-41-generic |
I'm seeing the same error as @ackernaut OS X 10.10.5 AND Debian Jessie We were running gulp-sass@1.3.3 which used node-sass@2.1.1 so I tried upgrading to gulp-sass@2.0.4 which uses node-sass@3.4.2 and I'm getting the same error |
Also seeing this issue, running on a Windows OS
Worked fine up until the update to 3.4.2. |
If you're seeing what @ackernaut sees, the issue has been fixed in npm/nopt@8900f8e. It's not related to what @jpaas posted though. |
Thanks @kenips for the update! I’ll keep an eye out for an update to |
@ackernaut I don't think you will need an update, it appears to be working now without a version bump |
@joshstrange ah, makes sense, the versioning syntax :) thanks |
@jpaas Looking at your output it looks like you're killing the install process. Why is that? As far as I can tell you're simply not installing the binary at all. |
I'm killing it because it hangs. I tried leaving it once for 20-30 minutes, but it always gets stuck at that spot. |
+1 |
I am unable to reproduce this on OSX node 4.2.1.
The issue you're seeing is because you're killing npm before node-sass finishes installing. There may be a larger issue that npm is stalling when installing node-sass but I am unable to reproduce this. |
@goncalvesjoao do not +1. If you want to contribute please follow the troubleshooting guide like @jpaas did. |
thanks to @danauclair comment, I added "nopt": "3.0.6" (that fixes the "TypeError: Cannot read property 'name' of null"), to my package.json and now everything is fine. |
@xzyfer do you think I just need to be more patient and let it run longer? |
It shouldn't take more than a few seconds. It's possible you're having a networking issue that preventing or slowing down the download. If you have the ability to inspect you network traffic it would be worth seeing what's happening. |
you're right @xzyfer I got hasted, anyway for me it was a matter of forcing the latest nopt version that fixes the "TypeError: Cannot read property 'name' of null" that was occurring to me during "npm install" |
No worries @goncalvesjoao. There are two separate issues being discussed here. The nopt issue is fixed now. Running |
I just tried the troubleshooting procedure again for about the 5th time today, but this time when I ran
So as far as I'm concerned, it seems to have resolved itself. |
👍 thanks for being so thorough @jpaas. |
I solved this problem by updating my gcc from 4.4 to 4.7. |
I solved this by deleting |
The fix that worked for me: |
@brainix unsafe-perm is needed if you run a whole thing as root (generally you don't need to) |
Thanks for the tip, @saper. I really don't know what I'm talking about. |
@brainix you might want to check the npm documentation on permissions. It's a bit magic. |
Per @justin808 in this thread, I fixed this with the following:
|
I performed the troubleshooting steps and put the output here https://gist.github.com/jpaas/7f3d9c1079c451f18345
It hangs during the post install scripts. You can see where I had to ctrl-C to continue.
I did upgrade my version of node but I did an npm rebuild and it completed without any errors.
The text was updated successfully, but these errors were encountered: