转载自:https://blog.csdn.net/qq_39165556/article/details/89333028
1、第一种解决办法
npm audit fix
npm audit fix --force
npm audit
2、第二种解决办法
删除已经安装的:node_modules 和 package-lock.json
修改 package.json 格式如下
npm audit fix --force
npm instal
转载自:https://blog.csdn.net/qq_39165556/article/details/89333028
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
我的补充:
vsCode 终端的命令:进入到项目路径下,执行。比如项目名叫testDemo:
PS D:\vsCode\testDemo npm install