当前位置: 首页 > Web前端 > HTML

解决npminstall的时候,报npmERR!exitedwitherrorcode-128

时间:2023-03-28 16:06:12 HTML

npminstallreportederrorcode:128andError:EPERM:operationnotpermitted_解决方法:执行以下命令:gitconfig--globalhttp.sslverify"false"再次执行npminstall。如果上面的命令执行完还是报错,继续执行下面的命令gitconfig--globalurl."https://".insteadOfgit://npm下载速度慢可以通过下面的方法解决操作问题npminstall--registry=https://registry.npm.taobao.orgError:EPERM:operationnotpermitted问题删除C:\Users\username.npmrc文件就可以了