yarn 装包 错误报 info There appears to be trouble with your network connection. Retrying...

昨天还好好的,今天删包装包报这个错误,第一反应是代理服务器设置问题
 设置 -> 网络和 Internet -> 代理 -> 下面开关关了

 本以为这就结束了,再次装包还有问题,百度了一下,各种配置啥的,好麻烦,就有了本文

第一步 : npm uninstall -g yarn (既然不知道啥问题就干掉呗)
第二步: npm install -g yarn (直接安装)
                或  npm install -g yarn --registry=https://registry.npm.taobao.org (带淘宝镜像安装)
问题解决,大功告成,那需要那么多配置啊

猜你喜欢

转载自blog.csdn.net/AS32H1/article/details/127898738