问题1
描述:Error while executing:D:\git\Git\cmd\git.EXE ls-remote -h -t ssh://git@github.com/...
解决方式:
1、修改仓库源为淘宝:
命令:npm config set registry https://registry.npm.taobao.org
查看仓库源:npm config get registry
或者修改文件
registry = https://registry.npm.taobao.org
2、将git协议替换为https协议
命令:git config --global url."https://" .insteadOf git://
3、设置安装包最大内存,防止安装包依赖过大而超时
命令:git config --global https.postBuffer 524288000