If you're trying to install behind a (corp) proxy, the http client doesn't attempt to make the connection via the users HTTP(S)_PROXY envvar.
I have a patch ready if this would be useful.
Only caveat is that the URL in the HTTP_PROXY envvar begins with a protocol e.g. HTTP_PROXY=http://localhost:3128. HTTP_PROXY=localhost:3128 wont work, due to limitations in Node's url parsing function.
If you're trying to install behind a (corp) proxy, the http client doesn't attempt to make the connection via the users HTTP(S)_PROXY envvar.
I have a patch ready if this would be useful.
Only caveat is that the URL in the HTTP_PROXY envvar begins with a protocol e.g. HTTP_PROXY=http://localhost:3128. HTTP_PROXY=localhost:3128 wont work, due to limitations in Node's url parsing function.