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