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

更换安装依赖的镜像,使用淘宝镜像安装,代码如下:
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 @ 2023-11-05 22:14  CrossPython  阅读(282)  评论(0编辑  收藏  举报