阅读 174

npm 报错 10054

报错提示:

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 github.com/nhn/raphael…
npm ERR! npm ERR! fatal: unable to access 'github.com/nhn/raphael…': OpenSSL SSL_read: Connection was _read: Connection was reset, errno 10054 npm ERR! npm ERR! exited with error code: 128

公司好好的,回家后npm install 就报这个错误,网上搜索好久,记录解决方案

解决方案:

1.安装git

2.以管理员身份运行vsCode

文章分类
前端
文章标签