Error while execuC:Program FilesGitcmdgit.EXE ls-remote -h -t https://github.com/nhn/raphael.git

Posted 水香木鱼ゆ

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Error while execuC:Program FilesGitcmdgit.EXE ls-remote -h -t https://github.com/nhn/raphael.git相关的知识,希望对你有一定的参考价值。


一📢我们在克隆远程仓库代码的时候,往往在下载node_modules 时,偶尔出现以下报错信息,我们可以这样解决哟!一👇👇👇

1、错误信息

npm ERR! Error while executing:
npm ERR! D:\\Program Files\\Git\\cmd\\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
npm ERR!
npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: Connection was reset, errno 10054
npm ERR!
npm ERR! exited with error code: 128

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\\Users\\admi\\AppData\\Roaming\\npm-cache\\_logs\\2021-04-22T07_32_25_219Z-debug.log

2、解决方案:可以清除DNS

ipconfig /flushdns

3、然后重新 下载node_modules

npm install

一📌成功解决效果:


以上是关于Error while execuC:Program FilesGitcmdgit.EXE ls-remote -h -t https://github.com/nhn/raphael.git的主要内容,如果未能解决你的问题,请参考以下文章

OracleOGG error while loading shared libraries

成功解决Error while trying to retrieve text for error ORA-12154

### The error may involve defaultParameterMap ### The error occurred while setting parameters

### The error may involve defaultParameterMap ### The error occurred while setting parameters

[Android]异常2-Unexpected error while executing

### The error may involve defaultParameterMap ### The error occurred while setting parameters