module-federation-examples icon indicating copy to clipboard operation
module-federation-examples copied to clipboard

vue-cli master分支跑不起来

Open cx5397 opened this issue 1 year ago • 1 comments

E:\github\module-federation-examples-master\vue-cli\consumer\src\App.vue 0:0 error Parsing error: require() of ES Module E:\github\module-federation-examples-master\vue-cli\consumer\node_modules\eslint-scope\lib\definition.js from E:\github\module-federation-examples-master\vue-cli\consumer\node_modules\babel-eslint\lib\require-from-eslint.js not supported. Instead change the require of definition.js in E:\github\module-federation-examples-master\vue-cli\consumer\node_modules\babel-eslint\lib\require-from-eslint.js to a dynamic import() which is available in all CommonJS modules

在consumer目录下执行yarn install ;yarn serve 报错,跑不起了

cx5397 avatar Apr 03 '24 07:04 cx5397

I do not know how to fix this. it seems like a peer dep issue in the project

ScriptedAlchemy avatar Apr 20 '24 00:04 ScriptedAlchemy