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
完美解決問題!