I am trying to set NPM (v9.4.0) proxy but I am facing the following error when running npm i -g npm@latest
:
npm ERR! code E407
npm ERR! 407 Proxy Authentication Required: npm@latest
The password I use for the proxy contains an "@" character an I suspect this is the root cause of the issue. I tried with a "\" before the "@" and also
npm config set proxy http://"user:MyP@ssword"@proxy.big.corp.fr:8080
npm config set https-proxy http://"user:MyP@ssword"@proxy.big.corp.fr:8080
but without success. Does anyone have an idea?