[未解决]yarn安装报错网络问题解决


报错内容:

info There appears to be trouble with your network connection. Retrying...

尝试无果:

方法一:

npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist

方法二:

yarn config get registry
# -> https://registry.yarnpkg.com
yarn config set registry https://registry.npm.taobao.org
# -> yarn config v0.15.0
# -> success Set "registry" to "https://registry.npm.taobao.org".
# -> Done in 0.04s.
***一定注意源地址不能带引号

我的博客即将同步至腾讯云+社区,邀请大家一同入驻:https://cloud.tencent.com/developer/support-plan?invite_code=39hlklufiwaog


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM