关于node.js:npm-install-报错-10054

首先,造成这个谬误很有可能是网络不稳固,连贯超时导致的,

如果再次尝试后仍然报错,能够执行上面的命令。

关上Git命令页面,执行git命令脚本:批改设置,解除ssl验证

git config --global http.sslVerify "false"

此时,再执行git操作即可。

这种问题经常出现在npm install时,谬误提醒如下:

...
npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() 
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\mingw64\bin\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 _read: Connection was reset, errno 10054
npm ERR!
npm ERR! exited with error code: 128
...

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理