yarn运行报错

bash-3.2$ yarn install                                                                                            
yarn install v0.15.1                                                                                              
info No lockfile found.                                                                                           
[1/4] ?  Resolving packages...                                                                                    
error read ECONNRESET                                                                                             
    at exports._errnoException (util.js:1036:11)                                                                  
    at TLSWrap.onread (net.js:564:26)                                                                             
info Visit http://yarnpkg.com/en/docs/cli/install for documentation about this command.         
阅读 17.7k
3 个回答

从报错信息来看, 应该是连接被重置了, 挂VPN试下吧。

我自己测试有时候需要代理,有时候又不需要。

额,兄弟,国内cnpm就可以了,速度飞起。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题