npm install报错如下: 


npm ERR! Error while executing:
npm ERR! D:\Program Files (x86)\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 20.205.243.166]: errno=Unknown error
npm ERR!
npm ERR!
npm ERR! exited with error code: 128
 
npm ERR! A complete log of this run can be found in:

解决方法,执行

git config --global url."https://".insteadOf git://

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐