解决报错:info There appears to be trouble with your network connection. Retrying...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
更换安装依赖的镜像,使用淘宝镜像安装,代码如下:
yarn config set registry https://registry.npm.taobao.org
 
移除原代理:
yarn config delete proxy
npm config rm proxy
npm config rm https-proxy
 
 
安装cnpm镜像并使用代理registry
安装cnpm镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
使用代理registry
npm config set registry https://registry.npm.taobao.org

  

posted @   CrossPython  阅读(510)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
点击右上角即可分享
微信分享提示