-
Notifications
You must be signed in to change notification settings - Fork 1.3k
npm ERR! node-sass@1.1.0 install: node build.js
#490
Comments
See this: #487 (comment) |
Thank you! |
@shivanibhanwal can you give v1.1.1 a try: https://github.com/sass/node-sass/releases/tag/v1.1.1 |
Now it is picking up 1.1.3
|
Problem is I am using broccoli-sass package and that internally uses node-sass. So when I retried it is now picking 1.1.3 version instead of 1.1.1 |
Yes v1.1.3 was a quick release after 1.1.1. Are you running on Windows? x64 or x86? Also, please tell the node.exe arch: |
Or more simply |
Also it happened to me after 1.1.0 is released.
Please let me know more info is needed. |
@banyan, which OS? |
linux-x64-v8-3.14 got it 😄 |
node-sass 1.1.3 build is failing for us, too, on linux-x64-v8-3.14. We're using gulp-sass, which depends on node-sass, and the latest version fails on Linux. https://travis-ci.org/angular/material/builds/39402854 Anything I can do to help fix this? |
Anyone having linux issues, please try installing v1.1.4: https://github.com/sass/node-sass/releases/tag/v1.1.4 |
No dice.
|
Same.
|
Same here
|
@naomiblack I'm not going to have any time to investigate the issue today, to resolve your issue quickly you could pin the version of node-sass to a known working version by adding the following to the dependencies section of your package.json:
|
Unfortunately, we depend upon gulp-sass's latest version, which depends too loosely upon node-sass. And we do need the latest version of gulp-sass because use sass maps. I'll just fork gulp-sass for now and depend on that. |
@ajoslin Yeah, same here with gulp-sass. Ended up forking as well. |
Another workaround for transitive node-sass dependencies, without forking, is installing node-sass 1.0.3 wherever node-sass appears in the depths of your |
Hi there, I stumbled upon this issue too on Travis, and a good fix I used is to update Travis g++ before running npm install. Hope that helps. |
@guillaumepotier thks for the tip |
@guillaumepotier 's note of http://gearchicken.com/wordpress/?p=105 is a good workaround in the mean time. |
Tried a similar fix to @guillaumepotier in CircleCI;
It worked a few days ago, but today the same builds are failing with "Error: After looking into things closer, what it seems to boil down to is something in scripts/install.js that was added two days ago: d4b8f6b#diff-153f7a81745c9180edcfa4838beeae7bR62 If I ssh into Circle, remove the line that skips downloading binaries on CI builds, and then manually run I don't know enough about what's going on here to know why downloading the binaries is skipped on a CI build. This might be getting into a separate issue, but right now, to get around this, I've set the environment variable cc @kevva |
@josiahsprague, on CI, we need to test the build step, so we skip downloading the prebuild package and build the process again. I agree there must be a switch to skip it as well. But this is for our CI configuration; Travis and Appveyor. |
Thanks to @josiahsprague and @guillaumepotier posts above I was able to get this to install on circleCI, the key was setting CI to nothing when running npm install, i.e. The circle.yml config I ended up using
|
Downgrading node latest stable v0.10 worked for me. On Sat, Jan 17, 2015 at 4:48 PM, Vaidas Mykolaitis <notifications@github.com
|
Downgrading to Node 0.10.32 also worked for me, but ideally this should work with 0.11.14 also... |
This is a known issue for node version v0.11.13 and v0.11.14. |
Now that Node 0.12.0 got released and npm 2.5.1 maybe its time to fix this... |
As per #627 (comment) node 0.12.x will be supported in the upcoming 2.0.0 stable release. |
I got this issue today - node v 0.12.0 & npm 2.5.1 - error came up as soon as i upgraded to 0.12 |
Not stable. Only use 0.10 On Fri, Feb 13, 2015 at 11:16 AM, Al notifications@github.com wrote:
|
@albertpak, |
@kevva thank you, that command worked, but looks like my issue is related to |
Correct. They still using node-sass < 2. If you create an issue with them
|
Thanks @kevva, |
@kevva npm install node-sass@2 worked for me but could you explain what this is doing in more depth so I can further diagnoses my issue with "node-sass": "~1.0.1" |
@fitzmx6, lets put it this way: there was a bug in the install script of version 1.0.1, which was fixed in v2. |
Node v 0.12.2
Edit: Ran |
I believe node-sass v2 doesn't support node 0.12. Please upgrade to
|
You should never have to use |
On Windows 7, there is an issue with a sub-process (postinstall, build). Some kind of permission error. This worked for me (from a run-as-admin cygwin shell):
Somehow, invoking the interpreter on the build and install scripts directly circumvents the issue. The error I encountered:
![web-start sass](https://cloud.githubusercontent.com/assets/890081/9690272/a0fe9a3c-533b-11e5-8fd5-0f42ae71ecea.png)
|
@tox2ik, the compatibility error you are getting is probably because the Cygwin process is 32-bit and node.exe is 64-bit. You can trying running the same command in normal CMD and it should work: Run>cmd> Separately, in order to get better reception, please try opening new issues in future, as opposed to continuing discussion on the closed issue. |
I am also getting that error, when I install node-sass, My Current Version of Node Current Version of Node SASS After Installation |
@jgacuca567 your node-sass is too old for node 4, please use the latest version. |
@saper, I was able to update node-sass to Version |
We need a full debug log output to troubleshoot this. Try |
@saper, I actually made it work. After updating individual npm modules without using sudo, when I run grunt, the only error I now receive is compass related. |
Good to hear! Compass will not work with node-sass, you might want to check out eyeglass. |
@saper, Grunt is running smoothly, For the |
npm should never be run with sudo |
We are running into issue while travis tries to build our code. Here are the details.
Looks like for some reason node-sass@1.1.0 is failing.
Thank you
Looking for your quick response.
The text was updated successfully, but these errors were encountered: