当前位置:网站首页>yarn下载报错There appears to be trouble with your network connection. Retrying.
yarn下载报错There appears to be trouble with your network connection. Retrying.
2022-06-28 00:19:00 【沧州刺史】
从github上clone了一个uniapp项目,因为npm有些问题,所以用的yarn。但是使用
yarn install
的时候,下载的进程每次到了一个特定的地方就会卡住,然后就会报错:
There appears to be trouble with your network connection. Retrying.
我找了很多解决方案:
- 更换源
- 删除代理
- 设置网络超时设置
都没用。
但是,在Stack Overflow上面看到一个回答,我试了一下,对我有用:
删除yarn配置文件,再次进行yarn install
这次好了,但是有可能是这几个方案综合的原因,所以我具体说一下我怎么弄的:
首先我更换了淘宝的源:
yarn config set registry https://registry.npm.taobao.org
然后我删除了网络代理
yarn config delete proxy
npm config rm proxy
npm config rm https-proxy
最后我删除了yarn的配置文件,并执行了
yarn install --netwrok -timeout 100000
成功解决网络连接超时问题。
边栏推荐
- Deep parsing of kubernetes controller runtime
- Cesium Click to obtain longitude and latitude (2D coordinates)
- TD Hero 线上发布会|7月2日邀你来
- 要搞清楚什么是同步,异步,串行,并行,并发,进程,线程,协程
- JS 随机数(随机数 小数)
- [Yocto RM]1 - System Requirements
- Take n multiple table names of a database as the values of a column in another table (the range can be a table in another database)
- Adding text labels to cesium polygons the problem of polygon center point offset is solved
- 766. 托普利茨矩阵
- 树莓派实现温控风扇智能降温
猜你喜欢

Maimai hot post: Why are big factories keen on making wheels?

机器学习笔记 - 时间序列作为特征

【ELT.ZIP】OpenHarmony啃论文俱乐部—数据密集型应用内存压缩

Hi, you have a code review strategy to check!

Numpy----np.meshgrid()

【牛客討論區】第四章:Redis

Original | 2025 to achieve the "five ones" goal! The four products of Jiefang power are officially released

Take n multiple table names of a database as the values of a column in another table (the range can be a table in another database)

嵌入式必学!硬件资源接口详解——基于ARM AM335X开发板 (下)

Based on am335x development board arm cortex-a8 -- acontis EtherCAT master station development case
随机推荐
系统管理员设置了系统策略,禁止进行此安装。解决方案
pytorch_ lightning. utilities. exceptions. MisconfigurationException: You requested GPUs: [1] But...
Adding text labels to cesium polygons the problem of polygon center point offset is solved
Centos8 operation record command version Yum redis MySQL Nacos JDK
geojson 格式說明(格式詳解)
Jenkins - 訪問 Jenkins 自定義參數變量,處理變量值中含有空格
Adobe Premiere foundation - sound adjustment (volume correction, noise reduction, telephone tone, pitch shifter, parameter equalizer) (XVIII)
Jenkins - Copy Artifact 插件 Build 之间数据共享传递
[Yocto RM] 4 - Source Directory Structure
Ten MySQL locks, one article will give you full analysis
树莓派实现温控风扇智能降温
ShardingSphere-proxy-5.0.0建立mysql读写分离的连接(六)
Jenkins - Pipeline 语法
Cesium Color 颜色(赋值)随机颜色
To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
Capacitor
嵌入式必学!硬件资源接口详解——基于ARM AM335X开发板 (下)
引用层reboot后的大体流程
766. 托普利茨矩阵
MySQL十种锁,一篇文章带你全解析