报错信息:npm ERR! E:\tools\Gitt\Git\cmd\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 reset, errno 10054
npm ERR!
npm ERR! exited with error code: 128

处理方法

1.git config --global url."https://" .insteadOf git://

2.可能是下载内容太大导致问题处理

git config --global https.postBuffer 524288000

3.更改数据源 

npm config set registry https://registry.npm.taobao.org

Logo

更多推荐