[vscode/node.js/vue报错]:npm ERR! 407 authenticationrequired - GET https://registry.npmjs.org/browsers

现象:修改电脑密码之后执行 npm install 失败报错:

npm ERR! 407 authenticationrequired - GET https://registry.npmjs.org/browserslist

原因:密码修改之后node.js的代理也需要更新

解决:

npm config get proxy
npm config set proxy xxxxxxxxx
npm config get https https-proxy
npm config set https https-proxy xxxxxxxxxxx

你可能感兴趣的:(项目奇葩报错集,javascript,vue.js,node.js)