git config --global url."https://".insteadOf git://
1、C:\RailsInstaller\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
npm i 后,报错如下:
在网上也找到了解决方法,这里再记录一下:
执行这条命令
git config --global url."https://".insteadOf git://
接着再npm i
2、C:\RailsInstaller\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
使用cnpm可以解决错误
cnpm install
posted on 2020-08-27 14:03 一个草率的龙果果 阅读(19465) 评论(2) 编辑 收藏 举报