http://nodejs.org/dist is redirecting to the Node blog, breaking native module installation on fresh instances with npm versions prior to 2.13.2 and 3.1.3, both of which bundle node-gyp version 2.0.2 which switches to https://nodejs.org/dist as the base URL.
Note the Location: header below:
$ curl -D - -OL http://nodejs.org/dist/v0.10.32/node-v0.10.32.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 301 Moved Permanently
Date: Thu, 10 Sep 2015 05:47:07 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=df56fbaba4359107e377b536a4d7f50a81441864026; expires=Fri, 09-Sep-16 05:47:06 GMT; path=/; domain=.nodejs.org; HttpOnly
Location: https://nodejs.org/en/blog/
Server: cloudflare-nginx
CF-RAY: 2238d6170bf50b14-SYD
...
More detail in this gist.
http://nodejs.org/distis redirecting to the Node blog, breaking native module installation on fresh instances withnpmversions prior to2.13.2and3.1.3, both of which bundlenode-gypversion2.0.2which switches tohttps://nodejs.org/distas the base URL.Note the
Location:header below:More detail in this gist.