報錯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錯誤,大概意思就是文件路徑錯了,檢查一下。
報錯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錯誤,大概意思就是文件路徑錯了,檢查一下。