1、设置国内淘宝镜像源
npm config set registry https://registry.npm.taobao.org
2、设置超时时间
yarn install --network-timeout=30000
3、删除代理
npm config rm proxy
npm config rm https-proxy
1、设置国内淘宝镜像源
npm config set registry https://registry.npm.taobao.org
2、设置超时时间
yarn install --network-timeout=30000
3、删除代理
npm config rm proxy
npm config rm https-proxy