解決vue項目npm install 和npm run 時出現的問題

報錯1

found 10 vulnerabilities(6 moderate,4 high)

run `npm audit fix` to fix them, or `npm audit` for details

說明:雖然警告有漏洞,但是不影響運行。

解決:把項目中的node_modules文件刪掉,再執行npm install。這時候就會發現沒有警告了。

報錯2

運行時出現4058錯誤,大概意思就是文件路徑錯了,檢查一下。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章