npm install 時報錯,提示:fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: Connection was reset, errno 10054


遇到的問題:

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”

 

總結:

這個問題困擾了我好久,我也只是試試看。

你使用上面的方法解決了嗎? 留言告訴我吧。

 

 

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM