npm install报错 code:128 和 Error: EPERM: operation not permitted_

解决办法:

执行如下命令:

git config --global http.sslverify "false"
再执行 npm install

如果上述命令执行完后,还是报那个谬误,继续执行如下命令

git config --global url."https://".insteadOf git://
能够通过如下操作解决 npm 下载速度慢的问题

npm install --registry=https://registry.npm.taobao.org

Error: EPERM: operation not permitted问题

删除C:\Users\用户名.npmrc 文件就ok