[jeecg-boot]jeecg-boot2.3.0前端vue 不兼容的问题
解决vue版本不匹配的问题 Vue packages version mismatch:解决方式:重新单独安装提示冲突的模块 比如如上的冲突,我重新下载了npm i vue-template-compiler@2.6.7 --save再重新启动就可以了 npm run dev====================================分割线=============jeecg-boot
·
解决vue版本不匹配的问题 Vue packages version mismatch:
解决方式:重新单独安装提示冲突的模块 比如如上的冲突,我重新下载了 npm i vue-template-compiler@2.6.7 --save
再重新启动就可以了 npm run dev
====================================分割线=============
jeecg-boot 2.3.0发布后,增加了很多新的好用的功能,下载试之
发现前端运行不起来
D:\nodejs\node.exe D:\nodejs\node_global\node_modules\yarn\bin\yarn.js install
yarn install v1.16.0
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To
clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-1.6.4.tgz: unexpected end of file".
info If you think this is a bug, please open a bug report with the information provided in "E:\\webstormWorkspacegit\\xsiot-web\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Process finished with exit code 1
这是默认执行 yarn install 的时候总是有一个没有下载下来
然后执行:npm install
应该是下载依赖成功了
但是想运行启动起来,还是不行
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
Module build failed (from ./node_modules/vue-loader/lib/index.js):
TypeError: Cannot read property 'parseComponent' of undefined
at parse (E:\webstormWorkspacegit\xsiot-web\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
at Object.module.exports (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-loader\lib\index.js:67:22)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
error in ./src/App.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/main.js 2:0-28 65:13-16
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/dict/JDictSelectTag.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/dict/index.js 1:0-37 4:36-37
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JPopup.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/index.js 3:0-34 7:28-34
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JFormContainer.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/index.js 2:0-50 6:36-50
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/JVxeCells/JVxePopupCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/JVxeCells/install.js 2:0-44 18:29-42
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/JVxeCells/JVxeFileCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/JVxeCells/install.js 4:0-42 24:28-40
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/JVxeCells/JVxeImageCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/JVxeCells/install.js 5:0-44 27:29-42
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/JVxeCells/JVxeRadioCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/JVxeCells/install.js 6:0-44 30:29-42
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JVxeTable/components/cells/JVxeTextareaCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/JVxeCells/install.js 8:0-87 13:33-49
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JVxeTable/components/cells/JVxeSelectCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/JVxeCells/install.js 7:0-83 14:34-48 15:34-48
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JModal/index.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/index.js 1:0-30 8:18-24 8:31-37
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JVxeTable/components/cells/JVxeDragSortCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/JVxeTable/index.js 19:0-67 56:874-890
@ ./src/components/jeecg/JVxeTable/install.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/layouts/TabLayout.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/utils/util.js 106:13-65
@ ./src/permission.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JVxeTable/components/cells/JVxeProgressCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/JVxeTable/index.js 17:0-67 56:823-839
@ ./src/components/jeecg/JVxeTable/install.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JVxeTable/components/cells/JVxeUploadCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/JVxeTable/index.js 15:0-63 56:674-688
@ ./src/components/jeecg/JVxeTable/install.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/jeecg/JVxeTable/components/cells/JVxeCheckboxCell.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/jeecg/JVxeTable/index.js 14:0-67 56:398-414
@ ./src/components/jeecg/JVxeTable/install.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/layouts/UserLayout.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/layouts/index.js 1:0-57 7:0-80
@ ./src/config/router.config.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/layouts/PageView.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/layouts/index.js 5:0-53 7:0-80
@ ./src/config/router.config.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/layouts/RouteView.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/layouts/index.js 4:0-55 7:0-80
@ ./src/config/router.config.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/layouts/BasicLayout.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/layouts/index.js 3:0-59 7:0-80
@ ./src/config/router.config.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/components/layouts/BlankLayout.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/components/layouts/index.js 2:0-59 7:0-80
@ ./src/config/router.config.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/views/Home.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/config/router.config.js 363:13-35
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
error in ./src/views/exception/404.vue
Module Error (from ./node_modules/vue-loader/lib/index.js):
Vue packages version mismatch:
- vue@2.6.12 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue\dist\vue.runtime.common.js)
- vue-template-compiler@2.6.11 (E:\webstormWorkspacegit\xsiot-web\node_modules\vue-template-compiler\package.json)
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.
@ ./src/config/router.config.js 369:11-371:28
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://192.168.0.104:3000/sockjs-node (webpack)/hot/dev-server.js ./src/main.js
<s> [webpack.Progress] 100%
怎么办呢,说是vue版本不对
那么就执行下升级版本
然后再启动
居然成功了
更多推荐
已为社区贡献3条内容
所有评论(0)