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
查看詳情,再手動安裝相關庫。