npm i 后,报错如下:

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

 

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

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

 

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2022-03-02
  • 2021-10-13
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
相关资源
相似解决方案