遇到的問題:
win10下 npm install 時報錯,提示:
Error while executing:
npm ERR! D:\programfiles\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: Connection was reset, errno 10054
問題分析:
這是兩個問題
1. https://github.com/nhn/raphael.git 這個文件被牆了。
解決辦法:安裝全局代理
2. OpenSSL問題,我也不知道這是什么意思。
解決辦法:重新安裝git,安裝時選擇“Use external OpenSSH”
總結:
這個問題困擾了我好久,我也只是試試看。
你使用上面的方法解決了嗎? 留言告訴我吧。