Node and Node's package manager npm is getting more and more traction.
There are a lot of projects that depend on npm for packages management. For example Apache Cordova.
If you work in an environment that provides access only through a proxy server and you want to use npm, you have to tell npm to use it.
This is done by setting config variables. Make sure to set the values for http and https.
npm config set proxy http://PROXYSERVER:PROXYPORT npm config set https-proxy http://PROXYSERVER:PROXYPORT
Just a side note. The url for http and https is in most cases the same.
If you are behind a corporate proxy, that uses NTLM authentication, check out my post about CNTLM