npm 407 需要代理身份验证 - GET https://registry.npmjs.org/{package}
npm 407 Proxy Authentication Required - GET https://registry.npmjs.org/{package}
我试过 ,但 none 成功了。
我也在 .gitconfig
文件中配置了代理,但这是有效的,在 npm 中,当我尝试安装或发布包时,出现错误;
407 Proxy Authentication Required - GET https://registry.npmjs.org/mocha
或
407 Proxy Authentication Required - PUT https://registry.npmjs.org/my-packaje
.npmrc 文件:
proxy=http://user:password@proxy:8080/
没有用户名和密码也可以:
proxy=http://proxy:8080/
我试过
我也在 .gitconfig
文件中配置了代理,但这是有效的,在 npm 中,当我尝试安装或发布包时,出现错误;
407 Proxy Authentication Required - GET https://registry.npmjs.org/mocha
或
407 Proxy Authentication Required - PUT https://registry.npmjs.org/my-packaje
.npmrc 文件:
proxy=http://user:password@proxy:8080/
没有用户名和密码也可以:
proxy=http://proxy:8080/