Vue跳坑

IDEA啓動時報錯:

Module build failed: Error:



Vue packages version mismatch:

- [email protected]
- [email protected]

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

    at Object.<anonymous> (I:\Project\LeYou\leyou-manage-web\node_modules\vue-template-compiler\index.js:8:9)

錯誤原因:

版本衝突

解決方法:

npm install [email protected] --save

再重新啓動:

npm run dev

完美解決問題!

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