解决问题-There appears to be trouble with your network connection. Retrying...

使用yarn install 命令时,偶尔出现此错误:There appears to be trouble with your network connection. Retrying...

可以通过以下步骤解决(亲测OK)

1、删除https-proxy、proxy

yarn config delete https-proxy

yarn config delete proxy

2、删除成功后,则重新设置https-proxy、proxy

yarn config get https-proxy
yarn config get proxy

3、在项目中重新使用yarn install命令

 

posted @ 2024-03-18 09:16  hjjsunli  阅读(4021)  评论(0编辑  收藏  举报