npm install出现问题:run 'npm audit fix' to fix them, or 'npm audit' for details
在下载npm包时突然出现这个错误,解决方法如下
1.运行下面的命令
npm audit fix
npm audit fix --force
npm audit
npm i
2.删除node_modules和package-lock.json后再执行上面的命令
如果node_modules无法删除
可以使用rimraf包来删除
npm i rimraf -g
rimraf node_module...
原创
2019-08-03 17:49:03 ·
9764 阅读 ·
0 评论