yarn 下包的时候提示错误:There appears to be trouble with your network connection. Retrying

原因: yarn超时,终端多次提示There appears to be trouble with your network connection. Retrying

解决如下:

//查看代理
git config list
//删除代理
git config delete  registry
//或者删除代理
git config delete proxy
//更换淘宝镜像
yarn config set registry https://registry.npm.taobao.org

在这里插入图片描述
在这里插入图片描述

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐