ls-remote -h -t git://github.com/adobe-webplatform/eve.git 报错问题

npm ERR! Error while executing:
npm ERR! D:\开发工具\git\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: unable to look up github.com (port 9418) (Ӧ�ó���û�е��� WSAStartup������ WSAStartup ʧ�ܡ� )
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache\_logs\2020-05-20T13_32_07_467Z-debug.log

 

 

解决方案

cd 项目根目录

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

posted @ 2020-05-20 21:36  会偷袭的猫  阅读(6805)  评论(0编辑  收藏  举报