暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

15 vulnerabilities (7 moderate, 8 high) To address all issues 使用时提示有漏洞

原创 瘦七斤改名字 2022-04-06
1589

由于最近换新电脑了,所以需要重新拉项目,安装依赖后有几个报错。

npm install # 安装项目依赖包
11 packages are looking for funding run `npm fund` for details found 1 high severity vulnerability run `npm audit fix` to fix them, or `npm audit` for details

npm官网提供了命令说明

npm audit fix //检测项目依赖中的漏洞并自动安装需要更新的有漏洞的依赖,无需自己跟踪和修复。 npm audit //允许开发者分析复杂的代码,并查看漏洞和缺陷。

所以只需要按照提示 npm audit fix

15 vulnerabilities (7 moderate, 8 high) To address all issues, run: npm audit fix

vue使用时提示有漏洞,那么就是直接按照后面提示的命令npm audit fix 就可以解决,
如果之后还会有报错,请清除缓存~

npm cache clean --force
最后修改时间:2022-04-06 10:04:35
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论