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 查看详情,再手动安装相关库。

posted @ 2019-04-29 16:13  水郁  阅读(24906)  评论(4编辑  收藏  举报
……