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

转载自:https://blog.csdn.net/qq_39165556/article/details/89333028

1、第一种解决办法

1 npm audit fix
2 npm audit fix --force
3 npm audit

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

2、第二种解决办法

1 删除已经安装的:node_modules 和 package-lock.json
2 修改 package.json 格式如下
3 npm audit fix --force
4 npm instal

转载自:https://blog.csdn.net/qq_39165556/article/details/89333028

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

我的补充:

vsCode 终端的命令:进入到项目路径下,执行。比如项目名叫testDemo:

1 PS D:vsCode	estDemo npm install