解决yarn安装过程中出现 There appears to be trouble with your network connection. Retrying… – MasterH's Grocery Store

解决yarn安装过程中出现 There appears to be trouble with your network connection. Retrying…

这是因为yarn安装超时,无法解析指定的域名
先查看代理

yarn config list

file

可以发现当前的registry为 https://registry.yarnpkg.com

执行以下命令,删除原来的proxy,设置淘宝的proxy

yarn config delete proxy
yarn config set registry https://registry.npm.taobao.org

file

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *