Read about a proxy variable in a .npmrc file but it does not work. Trying to avoid manually downloading all require packages and installing.
Setup npm proxy
For HTTP:
npm config set proxy http://proxy_host:port
For HTTPS:
use the https proxy address if there is one
npm config set https-proxy https://proxy.company.com:8080
else reuse the http proxy address
npm config set https-proxy http://proxy.company.com:8080
Note: The https-proxy doesn't have https as the protocol, but http.