yarn install连接
时间: 2023-10-24 22:28:40 浏览: 99
问题描述中提到了出现了网络连接错误,并且重试了多次。解决方案中引用了两个方法来解决连接问题。首先,你可以通过控制台输入命令“yarn config get registry”来查看当前镜像源是否是淘宝源。如果不是淘宝镜像源,你可以使用命令“yarn config set registry https://registry.npm.taobao.org”将当前镜像源设置为淘宝镜像。然后,重新执行“yarn install”命令。
另外,引用中也提到了一个关于代理的问题。你可以通过使用命令“git config --global http.proxy http://127.0.0.1:7890”和“git config --global https.proxy http://127.0.0.1:7890”来设置端口号为7890的代理。这可能会帮助你解决连接问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [vue中yarn install报错:info There appears to be trouble with your network connection. Retrying…](https://blog.csdn.net/weixin_43417844/article/details/127427333)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [【Git】yarn install git 连接失败——解决了 Failed to connect to github....](https://blog.csdn.net/qq_28505809/article/details/125918568)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文