npm ERR! code 128 npm ERR! error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054 npm ERR! fatal: expected flush after ref listing


安裝依賴的時候 報了這么個錯 

npm ERR! code 128
npm ERR! Command failed: git clone --mirror -q git://github.com/adobe-webplatform/eve.git C:\Users\Administrator\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-d0abc41b\.git --config core.longpaths=true
npm ERR! warning: templates not found in C:\Users\ADMINI~1\AppData\Local\Temp\pacote-git-template-tmp\git-clone-f4c31f91
npm ERR! error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054
npm ERR! fatal: expected flush after ref listing

 

網上查了資料給出的解決方案都是下圖這個命令 但是不行的

git config --global http.sslverify "false"

git config --global url."https://".insteadOf git://

 

 

后來又嘗試別的方法發現可行 終端(windows系統)運行如下命令 ipconfig /flushdns 


免責聲明!

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



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