首页 > 移动平台 > 详细

Yarn install 报错 Resolving packages... [2/4] Fetching packages... info There appears to be trouble with your network connection. Retrying

时间:2019-12-17 15:01:34      阅读:921      评论:0      收藏:0      [点我收藏+]

1.设置淘宝代理

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

2.如果网址本地可以打开,说明你本地有代理设置

所以需要按本地的代理 设置yarn访问代理(本地代理查看的话,点检浏览器 inter选项--> 连接 --> 局域网设置 )

yarn config set proxy http://1.2.1.251

yarn config set https-proxy http://1.2.1.251

 

Yarn install 报错 Resolving packages... [2/4] Fetching packages... info There appears to be trouble with your network connection. Retrying

原文:https://www.cnblogs.com/Wilson6/p/12054543.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!