转载:解决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

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\testDemo npm install

 

posted @ 2019-06-28 20:05  夏天的尾巴%  阅读(2956)  评论(0编辑  收藏  举报