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