npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects clone -b patch-1 ssh://git@github.com/tunnckocore/body-parsers.git D:\nodejs\node-v16.13.0\node_cache\_cacache\tmp\git-cloneEna1HD --recurse-submodules --depth=1 --config core.longpaths=true
npm ERR! Cloning into 'D:\nodejs\node-v16.13.0\node_cache\_cacache\tmp\git-cloneEna1HD'...
npm ERR! error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054
npm ERR! fatal: expected 'packfile'
npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node-v16.13.0\node_cache\_logs\2024-08-06T08_43_12_079Z-debug.log
具体报错如上,网上查找说是git,ssh公钥的问题,又重新申请git公钥,测试添加成功;顺便按照操作npm cache clean --force
清除npm缓存。
再次输入 npm strall 还是报同样的错误。
有没有大佬给出其他的解决方案试一下!拜谢!!!!