Vue错误——npm ERR! E:\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git

背景

  • 在使用npm install安装依赖时,出现错误npm ERR! E:\Git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git

解决方法

  • 设置git配置
    • git config --global url."https://".insteadOf git://
  • 重新npm install

 

posted @ 2020-09-20 14:54  话·醉月  阅读(17417)  评论(0编辑  收藏  举报