npm ERR Error while executing npm ERR

npm ERR! Error while executing:
npm ERR! d:\Program Files\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. 执行:npm install --registry=https://registry.npm.taobao.org

3. 执行:npm run dev

成功!

你可能感兴趣的:(前端,npm,vue.js,node.js)