原因:下载安装的依赖包过大,导致git请求超时。可以通过修改githttp.postBuffer的大小来控制超时时间。错误!执行时出错:npmERR!C:\ProgramFiles\Git\mingw64\bin\git.EXEls-remote-h-thttps://github.com/nhn/raphael.gitnpm错误!npm错误!致命:无法访问“https://github.com/nhn/raphael.git/”:OpenSSLSSL_read:连接已重置,errno10054npmERR!npmERR!退出,错误代码:128npmERR!可以在以下位置找到此运行的完整日志:npmERR!D:\jskExtensions\nodejs\node_cache\_logs\2021-05-28T07_14_41_807Z-debug.loggitCmd执行配置修改:【C:\ProgramFiles\Git\mingw64\bin\git.EXE】D:\2021\oa-admin\vue-element-admin>"C:\ProgramFiles\Git\mingw64\bin\git.exe"confighttp.postBuffer52428800000检查配置是否生效:gitconfighttp.postBuffer52428800000ornot?试试这个:gitconfig--globalhttp.sslVerify"false"
