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

5,960 阅读1分钟

npm install的时候报错

ls-remote -h -t git://github.com/adobe-webplatform/eve.git

图示

解决方案

配置中把git://替换为https://
cd 项目根目录
git config --global url."https://".insteadOf git://