Wednesday, August 9, 2017

NPM behind a proxy

Sitting behind a proxy and getting weird errors about tunnels not connecting (i.e. tunneling socket could not be established)? Download and run Fiddler (from Telerik), open the Rules menu and select Automatically Authenticate, then run these commands from the command prompt:

npm config set proxy http://localhost:8888
npm config set https-proxy http://localhost:8888

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.