修改源
npm config set registry https://registry.npmjs.org
npm config set registry https://registry.npm.taobao.org
npm get registry
corepack enable
yarn -h
yarn config set registry https://registry.npm.taobao.org
// 允许来自局域网的连接
$env:HTTP_PROXY="http://127.0.0.1:41091"
$env:HTTPS_PROXY="https://127.0.0.1:41091"
网友评论