纳速健身

标题: found 84 vulnerabilities vue使用时提示有漏洞 npm清除缓存 [打印本页]

作者: awagink    时间: 2020-11-27 19:31
标题: found 84 vulnerabilities vue使用时提示有漏洞 npm清除缓存
[color=rgba(0, 0, 0, 0.75)]found 84 vulnerabilities (65 low, 7 moderate, 11 high, 1 critical) vue使用时提示有漏洞


[url=]版权[/url]



found 84 vulnerabilities (65 low, 7 moderate, 11 high, 1 critical)  run `npm audit fix` to fix them, or `npm audit` for details

vue使用时提示有漏洞,那么就是直接按照后面提示的命令npm audit fix 就可以解决
之后会有报错

npm ERR! code ELOCKVERIFYnpm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.npm ERR!     Missing: chromedriver@^2.27.2npm ERR! A complete log of this run can be found in:npm ERR!     C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2019-08-14T02_42_33_902Z-debug.log

请清除缓存

npm cache clean --force








欢迎光临 纳速健身 (https://nasue.com/) Powered by Discuz! X3.4