-
Notifications
You must be signed in to change notification settings - Fork 1.3k
OSX install hangs on node scripts/install.js #1690
Comments
This does sound like a networking problem. The installation fetching a prebuilt binary from a github release see https://github.com/sass/node-sass/releases. If you have firewall contraints you can use a set of ENV variables to point the install script at a different location - https://github.com/sass/node-sass#binary-configuration-parameters It's interesting that the fetch didn't timeout gracefully. A lack of timeouts could be related to some other issues we've seen @saper. |
Great, thanks for the info, will take a look at our end - it'll just be a http get though, right? I don't imagine the port is blocked... It may just be a general performance issue at our end. Does it just attempt to download one of the |
Yes it's a simple HTTP GET which downloads one of the attached |
This PR adds a timeout to the binary fetch request as well as a useful error message. It came to light in sass#1690 that the download can block for a long time. ``` npm info lifecycle node-sass@3.8.0~install: node-sass@3.8.0 > node-sass@3.8.0 install /Usersproject-path/node_modules/node-sass > node scripts/install.js Build timed out (after 35 minutes). Marking the build as failed. ``` We see a fair amount of hung installer issues that could be related to this. The error output will give us another data point in those cases.
We're going to add a timeout the binary fetch to hopefully prevent this in the future #1691. |
This PR adds a timeout to the binary fetch request as well as a useful error message. It came to light in #1690 that the download can block for a long time. ``` npm info lifecycle node-sass@3.8.0~install: node-sass@3.8.0 > node-sass@3.8.0 install /Usersproject-path/node_modules/node-sass > node scripts/install.js Build timed out (after 35 minutes). Marking the build as failed. ``` We see a fair amount of hung installer issues that could be related to this. The error output will give us another data point in those cases.
Reenable code coverage
Running OSX 10.11.6
Node v6.1.0
node -p process.versions -
node -p process.platform - darwin
node -p process.arch - x64
Installing gulp-sass hangs on the dependancy install of node-sass. This is the same issue as raised here #1265 I just get:
However, I think in my case it may be a network issue (had no problems until recent network changes). What exactly is it that
scripts/install.js
does? Which URLs / ports should I be checking to see if they've been blocked or throttled?The text was updated successfully, but these errors were encountered: