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 

posted @ 2022-03-23 16:07  你丫才美工  阅读(3149)  评论(0编辑  收藏  举报