npm i 下载依赖下载不下来

npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number
of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! Command failed: git clone --mirror -q https://github.com/nhn/raphael.git D:\nodejs\node_cache_cacache\tmp\git-clone-069a0d5b.git --config core.longpaths=true
npm ERR! warning: templates not found in C:\Users\lxp\AppData\Local\Temp\pacote-git-template-tmp\git-clone-4e9396bc
npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: Connection was reset, errno 10054
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodejs\node_cache_logs\2021-12-14T08_36_53_932Z-debug.log

换一个命令,用yarn命令下载试试。

git --config core.longpaths=true 运行 一下这个 。
如果不行升级一下 npm 版本 。这个报错说是
npm警告弃用的内核-js@2.6.12:core js@<3.3不再维护,由于数量原因,不建议使用

一系列问题。由于V8引擎的突发奇想,旧core js版本中的功能检测可能会导致速度降低100倍,即使没有多填充。请将依赖项升级到core js的实际版本。

使用这个命令 npm i -s -f