报的错误:
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/nhn/raphael.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
解决办法:
执行如下命令
git config --global Http.sslverify "false"
再
运行 npm install --reGIStry=https://registry.npm.taobao.org
--------一定确认一下是 taobao.org
---------reGIStry=https://registry.npm.taobao.org
还报错 运行:
git config --global url."https://".insteadOf git://
再重新npm install --reGIStry=https://registry.npm.taobao.org