npm 安装包以后,若是出现相似下面的信息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。code
npm audit fix
--force
能够先 npm update,而后 npm audit 查看详情,再手动安装相关库。it
npm update
npm audit