npm install 遇到 git.exe ls-remote -h -t git://github.com/adobe-webplatform/eve.git 报错问题
ls-remote -h -t git://github.com/adobe-webplatform/eve.git 报错问题
作者:好易餐饮管理系统
阅读:43
更新:2024-03-02
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://
# 此方法修改项目的配置文件
相关文章
npm ERR node-sass@4.14.1 postinstall: `node scripts/build.js`
作者:好易餐饮管理系统
阅读:41
更新:2024-03-02
作者:好易餐饮管理系统
阅读:41
更新:2024-03-03