当前位置:网站首页>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
成功解决网络连接超时问题。
边栏推荐
- [Yocto RM]1 - System Requirements
- Cesium Color 颜色(赋值)随机颜色
- Adobe Premiere foundation - sound adjustment (volume correction, noise reduction, telephone tone, pitch shifter, parameter equalizer) (XVIII)
- To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
- 深入解析kubernetes controller-runtime
- Cesium 获取屏幕所在经纬度范围
- Geojson format description (detailed format)
- [Yocto RM] 2 - Yocto Project Terms
- Implementation of timed tasks in laravel framework
- Locust performance test - parameterization, no repetition of concurrent cyclic data sampling
猜你喜欢

frp实现内网穿透

Cesium 获取屏幕所在经纬度范围

Numpy----np. Tile() function parsing

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

Appium自动化测试基础 — ADB常用命令(一)

Jenkins - data sharing and transfer between copy artifact plug-in builds

Numpy----np.tile()函数解析

声网 VQA:将实时互动中未知的视频画质用户主观体验变可知

Cesium Click to draw polygons (dynamically draw polygons)

Cesium 多边形增加文字标签(polygon 加 label)多边形中心点偏移问题解决
随机推荐
系统管理员设置了系统策略,禁止进行此安装。解决方案
Based on am335x development board arm cortex-a8 -- acontis EtherCAT master station development case
Introduction to hybrid apps
What are the risks of opening a compass stock account? Is it safe to open a compass account
Solve the problem that the page cannot scroll when ionic4 uses the hammerjs gesture press event
TD Hero online conference on July 2
To understand what is synchronous, asynchronous, serial, parallel, concurrent, process, thread, and coroutine
How fiddle uses agents
9. Openfeign service interface call
[Yocto RM]3 - Yocto Project Releases and the Stable Release Process
嵌入式必学,硬件资源接口详解——基于ARM AM335X开发板 (上)
Deep parsing of kubernetes controller runtime
Description du format geojson (détails du format)
【永艺XY椅】试用体验
Adobe Premiere Basics - common video effects (corner positioning, mosaic, blur, sharpen, handwriting tools, effect control hierarchy) (16)
Data analysts too hot? Monthly income 3W? Tell you the true situation of this industry with data
[Yocto RM] 2 - Yocto Project Terms
Embedded must learn, detailed explanation of hardware resource interface -- Based on arm am335x development board (Part 1)
Four classic training modes in comparative learning
Numpy----np. meshgrid()