Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-cli master分支跑不起来 #3806

Open
cx5397 opened this issue Apr 3, 2024 · 1 comment
Open

vue-cli master分支跑不起来 #3806

cx5397 opened this issue Apr 3, 2024 · 1 comment

Comments

@cx5397
Copy link

cx5397 commented Apr 3, 2024

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 报错,跑不起了

@ScriptedAlchemy
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants