fes.js icon indicating copy to clipboard operation
fes.js copied to clipboard

按照官网生成新项目,会报loader版本不对,重新升级也不行....向往能直接安装使用相同版本

Open wlll122 opened this issue 5 years ago • 2 comments

ERROR in ./node_modules/@webank/fes-core/src/views/layout/root.vue Module Error (from C:/Users/ll/AppData/Roaming/npm/node_modules/@webank/fes-cli/node_modules/vue-loader/lib/index.js):

Vue packages version mismatch:

  • [email protected] (C:\Users\ll\AppData\Roaming\npm\node_modules\vue\dist\vue.runtime.common.js)
  • [email protected] (C:\Users\ll\AppData\Roaming\npm\node_modules@webank\fes-cli\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.

wlll122 avatar Sep 20 '20 09:09 wlll122

删除 node_modules和package-lock.json,再重新 npm i 一下。

还不行的话,麻烦提供下 npm、node 版本,谢谢

winixt avatar Sep 20 '20 11:09 winixt

删除node_modules和package-lock.json,再重新npm i一下。

还不行的话,麻烦提供下npm,node版本,谢谢

还是不行,npm 6.14.7 nodev12.18.2

wlll122 avatar Sep 20 '20 12:09 wlll122