如何修复 npm 漏洞?

时间:2021-05-24 22:52:42

标签: security npm

现在 npm 审计显示

88 vulnerabilities (82 moderate, 6 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

我尝试过 npm audit fix --force 漏洞数量下降到 40。当我尝试运行应用程序时,它失败了。我曾尝试删除 node_modules 文件夹和 package-lock.json 然后运行 ​​npm install 但这并没有解决它。 picture of the audit problem

我该如何解决这个问题。任何帮助是极大的赞赏。谢谢

0 个答案:

没有答案