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. (I:\Project\LeYou\leyou-manage-web\node_modules\vue-template-compiler\index.js:8:9)

错误原因:

版本冲突

Vue跳坑_第1张图片

解决方法:

npm install [email protected] --save

再重新启动:

npm run dev

完美解决问题!

你可能感兴趣的:(知识积累,跳坑,Vue)