139 Star 1.8K Fork 651

GVP码农俱乐部 / bbs-go

 / 详情

admin 模块 npm install 报错 eslint 版本冲突

待办的
创建于  
2023-04-24 11:16

系统:Windows 11 和 Ubuntu 18.04 都试过
Node.js 版本:v16.17.0 和 v16.15.0 都试过
重现步骤:

git clone git@gitee.com:mlogclub/bbs-go.git
cd bbs-go
git checkout v3.5.6
cd admin
npm install

报错信息:

PS D:\gitee\bbs\bbs-go\admin> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: admin@0.1.0
npm ERR! Found: eslint@7.32.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^7.32.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.19
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR!   dev @vue/cli-plugin-eslint@"~4.5.0" 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.
npm ERR!
npm ERR! See D:\Users\caiba\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\Users\caiba\AppData\Local\npm-cache\_logs\2023-04-24T02_55_47_052Z-debug-0.log

评论 (1)

宝熊君 创建了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
472659 caibaohong 1578924963
Go
1
https://gitee.com/mlogclub/bbs-go.git
git@gitee.com:mlogclub/bbs-go.git
mlogclub
bbs-go
bbs-go

搜索帮助