Please use the following code to set the proxy
npm config set proxy http://username:pass@server.com:port
npm config set https-proxy http://username:pass@server.com:port
Please replace username, password, proxyserver.com and port with your details, it will look something like this:
npm config set proxy http://abhi:hipass@abheist.com:8080
npm config set https-proxy http://abhi:hipass@abheist.com:8080
🙏
Top comments (0)