I've tried all these answers, but none of them work.
I have the proxy configured in the .gitconfig
file too, but this is working, and in npm, when I'm trying to install or publish a package, I get the error;
407 Proxy Authentication Required - GET https://registry.npmjs.org/mocha
or
407 Proxy Authentication Required - PUT https://registry.npmjs.org/my-packaje
.npmrc file:
proxy=http://user:password@proxy:8080/