yarn创建react项目报错

编程

新安装 yarn v1.22.4在执行以下命令,

yarn create react-app my-app

显示报错如下

info There appears to be trouble with your network connection. Retrying...

error An unexpected error occurred: "https://registry.npm.taobao.org/react: tunneling socket could not be established,

cause=connect ECONNREFUSED 127.0.0.1:3128".

解决方法:

yarn config delete https-proxy

yarn config delete proxy

 

以上是 yarn创建react项目报错 的全部内容, 来源链接: utcz.com/z/514769.html

回到顶部