0

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/
Jorge Montejo
  • 485
  • 1
  • 6
  • 17

1 Answers1

0

Without username and password it works:

proxy=http://proxy:8080/
Jorge Montejo
  • 485
  • 1
  • 6
  • 17