[vscodenode.jsvue报错]:npm ERR! 407 authenticationrequired - GET https:registry.npmjs.orgbrowsers

it2023-01-11  51

现象:修改电脑密码之后执行 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
最新回复(0)