npm 安装报错:
npm ERR! E:\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/':OpenSSL SSL_connect: Connection was reset in con nection to github.com:443
网上查看了各种处理方式:
https://alex007.blog.csdn.net/article/details/114744671
https://blog.csdn.net/chen798213337/article/details/114935546
https://blog.csdn.net/oinglan/article/details/104422446
https://www.cnblogs.com/lvhuayan/p/14538106.html
https://www.cnblogs.com/LandWind/p/github_SSL_connect_error_443.html
http://www.qishunwang.net/news_show_34183.aspx
都没解决我的问题。
然后看到https://www.cnblogs.com/zuiyue_jing/p/13700388.html
我的跟他问题类似,但是协议不一样,与是我把git://与https://调换
- git config --global url."git://".insteadOf https://
然后就可以继续安装了。希望可以帮助到大家。