- npm install报错
- 设置git配置
- 清除缓存
- 重新安装
- 提示
- C:Program FilesGitcmdgit.EXE ls-remote -h -t ssh://git@github.com/sohee-lee7/Squire.git
设置git配置
git config --global url."https://".insteadOf git://
清除缓存
npm cache clean --force 或 ipconfig /flushdns
重新安装
npm install 或 npm install --registry=https://registry.npm.taobao.org
提示
- 有时按上面的操作可能还会出错,多操作几次就好了



