configure the HTTP and HTTPS proxy for Node.js:
npm config set proxy http://proxy:8080
npm config set https-proxy http://proxy:8080
configure the HTTP and HTTPS proxy for Node.js:
npm config set proxy http://proxy:8080
npm config set https-proxy http://proxy:8080