解决npm安装时出现run `npm audit fix` to fix them, or `npm audit` for details

解决npm安装时出现run `npm audit fix` to fix them, or `npm audit` for details

1、第一种解决办法

npm audit fix
npm audit fix --force
npm audit

2、第二种解决办法

1 删除已经安装的:node_modules 和 package-lock.json
2 修改 package.json 格式如下
3 npm audit fix --force
4 npm instal
原文地址:https://www.cnblogs.com/NanKe-Studying/p/13973337.html