found 12 vulnerabilities (7 moderate, 5 high) run `npm audit fix` to fix them, or `npm audit` for details


npm 安装包之后,如果出现类似下面的信息

 found 12 vulnerabilities (7 moderate, 5 high)
    run `npm audit fix` to fix them, or `npm audit` for details

如果 npm audit fix,之后还是有问题,可能是不能自动 fix,尽量不要 --force 强制 fix。

可以先 npm update,然后 npm audit 查看详情,再手动安装相关库。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM