Open MiYogurt opened 7 years ago
@MiYogurt 目测应该是 Vue 和 Element 版本冲突,你把 Vue 和 Element 相关的依赖都升级到最新看看~
@okoala 老司机
apollo-client ^0.4.20 → ^0.8.5
egg ^0.2.1 → ^0.12.0
egg-view-nunjucks ^0.5.0 → ^1.0.0
element-ui 1.0.0-rc.7 → 1.1.6
graphql ^0.7.1 → ^0.9.1
graphql-tag ^0.1.14 → ^1.2.4
graphql-tools ^0.7.2 → ^0.10.0
vuex-router-sync ^3.0.0 → ^4.1.2
@types/axios ^0.9.32 → ^0.14.0
@types/node ^6.0.45 → ^7.0.5
babel-plugin-component ^0.4.3 → ^0.9.0
babel-preset-es2015-rollup ^1.2.0 → ^3.0.0
cross-spawn ^4.0.2 → ^5.0.1
css-loader ^0.23.1 → ^0.26.1
egg-bin ^1 → ^2
egg-mock ^0.0.5 → ^3.0.0
eslint-config-vue ^1.1.0 → ^2.0.2
eslint-plugin-html ^1.5.3 → ^2.0.0
file-loader ^0.9.0 → ^0.10.0
karma-webpack ^1.8.0 → ^2.0.2
memory-fs ^0.3.0 → ^0.4.1
npm-run-all ^3.1.0 → ^4.0.1
postcss-loader ^0.13.0 → ^1.3.0
selenium-server ^2.53.1 → ^3.0.1
ts-loader ^0.9.1 → ^2.0.0
vue-loader ^9.7.0 → ^11.0.0
vue-style-loader ^1.0.0 → ^2.0.0
webpack ^1.13.2 → ^2.2.1
webpack-dev-server ^1.16.2 → ^2.3.0
webpack-prerender-spa-plugin ^0.1.1 → ^0.2.0
我用 ncu 检测了一下,版本变化太大了,更新下吧。
升级了一下,发现 vue-loader 还需要
npm i vue-template-compiler -D
通过自己的 debug 能力终于跑起来了。
没有具体的行数,只是报错如下,怎么搞?
node 6.9.1 os: win 10