NodeJs:Npm Install 发生错误

发生了两处错误

1.undefined ls-remote -h -t ssh://[email protected]/sohee-lee7/Squire.git 

    解决方案:把git的bin安装目录配置到path中


2.Command failed: git clone --depth=1 -q -b fix/ie-cannot-input-korean git://github.com/sohee-lee7/Squire.git 

如果与git配置成密钥的形式就不用这样操作了,

  git config --global url."https://".insteadOf git://
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章