error in ./src/pages/home.vuevue
Module build failed: Error:npm
Vue packages version mismatch:ide
- vue@2.4.4ui
- vue-template-compiler@2.5.13spa
This may cause things to work incorrectly. Make sure to use the same version forit
both.io
If you are using vue-loader@>=10.0, simply update vue-template-compiler.class
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify shotest
uld bump vue-template-compiler to the latest.vue-loader
出現這種錯誤以後能夠使用命令,將vue的版本改爲和vue-template-compiler的版本一致,使用命令
npm install vue@2.5.13 --save,而後直接運行就能夠了!