ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git

639 阅读1分钟

报错日志

leepandar@localhost ant-design-vue-jeecg % yarn install  
yarn install v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads git://github.com/adobe-webplatform/eve.git

解决方案

在项目根目录下执行

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

博客园 腾讯云 CSDN 简书