yudaocode / yudao-ui-admin-vue2

芋道管理后台,基于 Vue2 + Element UI 实现,支持 RBAC 动态权限、数据权限、SaaS 多租户、Flowable 工作流、三方登录、支付、短信、商城、CRM、ERP 等功能。
MIT License
143 stars 85 forks source link

项目中的版本冲突 #5

Closed lsy-g closed 4 months ago

lsy-g commented 4 months ago

下载[v2.1.0]源码,执行npm install命令报错 npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: yudao-ui-admin@2.1.0-snapshot npm ERR! Found: eslint@7.15.0 npm ERR! node_modules/eslint npm ERR! dev eslint@"7.15.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint@">= 1.6.0 < 7.0.0" from @vue/cli-plugin-eslint@4.5.18 npm ERR! node_modules/@vue/cli-plugin-eslint npm ERR! dev @vue/cli-plugin-eslint@"4.5.18" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

lsy-g commented 4 months ago

降低node的版本没问题了