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

 

 

一、C:\RailsInstaller\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git

 

npm i 后,报错以下:git

 

 在网上也找到了解决方法,这里再记录一下:
执行这条命令github

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

 接着再npm inpm

 

 

二、C:\RailsInstaller\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git

 

 

使用cnpm能够解决错误
cnpm install
相关文章
相关标签/搜索