新安装 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
来源:oschina
链接:https://my.oschina.net/liyoungs/blog/3211928