Closed vaseala closed 5 months ago
直接执行安装报下面的错:
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vue-hooks-plus/resolvers@1.2.4 npm ERR! Found: vue-hooks-plus@2.1.0 npm ERR! node_modules/vue-hooks-plus npm ERR! vue-hooks-plus@"^2.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vue-hooks-plus@"^1.5.2" from @vue-hooks-plus/resolvers@1.2.4 npm ERR! node_modules/@vue-hooks-plus/resolvers npm ERR! dev @vue-hooks-plus/resolvers@"^1.2.4" from the root project npm ERR! npm ERR! Conflicting peer dependency: vue-hooks-plus@1.9.0 npm ERR! node_modules/vue-hooks-plus npm ERR! peer vue-hooks-plus@"^1.5.2" from @vue-hooks-plus/resolvers@1.2.4 npm ERR! node_modules/@vue-hooks-plus/resolvers npm ERR! dev @vue-hooks-plus/resolvers@"^1.2.4" 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! npm ERR! For a full report see: npm ERR! /Users/***/.npm/_logs/2024-05-28T01_12_40_636Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/***/.npm/_logs/2024-05-28T01_12_40_636Z-debug-0.log
目前安装时需要 npm i --force
建议升级 @vue-hooks-plus/resolvers 对 vue-hooks-plus 依赖的版本
No response
@vaseala 已更新至 1.2.5
1.2.5
Description
直接执行安装报下面的错:
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vue-hooks-plus/resolvers@1.2.4 npm ERR! Found: vue-hooks-plus@2.1.0 npm ERR! node_modules/vue-hooks-plus npm ERR! vue-hooks-plus@"^2.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer vue-hooks-plus@"^1.5.2" from @vue-hooks-plus/resolvers@1.2.4 npm ERR! node_modules/@vue-hooks-plus/resolvers npm ERR! dev @vue-hooks-plus/resolvers@"^1.2.4" from the root project npm ERR! npm ERR! Conflicting peer dependency: vue-hooks-plus@1.9.0 npm ERR! node_modules/vue-hooks-plus npm ERR! peer vue-hooks-plus@"^1.5.2" from @vue-hooks-plus/resolvers@1.2.4 npm ERR! node_modules/@vue-hooks-plus/resolvers npm ERR! dev @vue-hooks-plus/resolvers@"^1.2.4" 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! npm ERR! For a full report see: npm ERR! /Users/***/.npm/_logs/2024-05-28T01_12_40_636Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/***/.npm/_logs/2024-05-28T01_12_40_636Z-debug-0.log
目前安装时需要 npm i --force
Suggested solution
建议升级 @vue-hooks-plus/resolvers 对 vue-hooks-plus 依赖的版本
Alternative
No response
Additional context
No response
Validations