随身笔记
随身笔记

解决npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git

遇到类似这种报错:

npm install
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git
npm ERR! command-line line 0: unsupported option "accept-new".
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.

npm ERR! A complete log of this run can be found in:

解决方法:

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

https://github.com/PanJiaChen/vue-element-admin/issues/3859

没有标签
首页      前端资源      wordpress教程      解决npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git

随身笔记

解决npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git
遇到类似这种报错: npm install npm ERR! code 128 npm ERR! An unknown git error occurred npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/rapha…
扫描二维码继续阅读
2023-04-25