npm install出現This is probably not a problem with npm錯誤

使用npm install 安裝npm時出現This is probably not a problem with npm. There is likely additional logging output above.錯誤

可能是因爲版本問題(安裝新版本或者舊版本),導致有一些緩存

可以執行下面的命令,在把之前裝的都清空

rm -rf node_modules
rm package-lock.json
npm cache clear --force

然後重新執行npm install

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