解決npm安裝時出現run `npm audit fix` to fix them, or `npm audit` for details


解決辦法:

網上說遇到這種問題可能是npm需要升級,有些下載不下來,

這樣就好使用:

1、刪除已經安裝的:node_modules 和 package-lock.json

2、在安裝:npm install

 

 出現npm fund這東西就是成了

3、在運行npm run dev 就成功了

 

 

 

這上網上的解決辦法:

https://www.pianshen.com/article/57641567581/
 
 

1、第一種解決辦法,按照順序執行下面的步驟

1、npm audit fix
2、npm audit fix --force
3、npm audit

 

2、第二種解決辦法

刪除已經安裝的:node_modules 和 package-lock.json
修改 package.json 格式如下
npm audit fix --force
npm instal

 
 
 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM