yarn按照依赖的时候报 info There appears to be trouble with your network connection. Retrying...

出现这个提示多数情况下是有使用代理软件的结果,我们只需要关闭代理即可
1. 更换yarn镜像

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

2.移除原代理

yarn config delete proxy

 3,从新yarn按照依赖
4,如果以上操作都还不行,删除yarn.lock文件后从新yarn按照

posted @ 2023-12-13 10:56  龙卷风吹毁停车场  阅读(771)  评论(0)    收藏  举报