Open zyh-akk opened 5 years ago
I have the same question, it seems like vue version dose not match vue-template-compiler version, but I haven't solved it yet.
I solved this problem! Vue version must be same as vue-template-compiler version, you can try to run :
npm update vue -g
update vue version to 2.6.10
/usr/local/lib/node_modules/@wepy/cli/node_modules/vue-template-compiler/index.js:10 throw new Error( ^
Error:
Vue packages version mismatch:
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.
我本地vue版本是3.6.2