首页 > 其他 > 详细

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

时间:2019-06-28 20:20:48      阅读:143      评论:0      收藏:0      [点我收藏+]

转载自: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

 

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

原文:https://www.cnblogs.com/mySummer/p/11104565.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!