umijs / qiankun

📦 🚀 Blazing fast, simple and complete solution for micro frontends.
https://qiankun.umijs.org
MIT License
15.77k stars 2.01k forks source link

react version conflicts. Can qiankun improve its version dependence on react #2906

Closed xiaofeihui closed 7 months ago

xiaofeihui commented 7 months ago

npm install start ======================================================================= npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @umijs/plugin-qiankun@2.41.0 npm ERR! Found: react@17.0.2 npm ERR! node_modules/react npm ERR! react@"^17.0.0" from the root project npm ERR! peer react@"^16.8.0 || ^17.0.0" from @ahooksjs/use-request@2.8.15 npm ERR! node_modules/@ahooksjs/use-request npm ERR! @ahooksjs/use-request@"^2.0.0" from @umijs/plugin-request@2.6.0 npm ERR! node_modules/@umijs/plugin-request npm ERR! @umijs/plugin-request@"2.6.0" from @umijs/preset-react@1.8.12 npm ERR! node_modules/@umijs/preset-react npm ERR! dev @umijs/preset-react@"1.8.12" from the root project npm ERR! 93 more (@ant-design/icons, @ant-design/pro-descriptions, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"16" from @umijs/plugin-qiankun@2.41.0 npm ERR! node_modules/@umijs/plugin-qiankun npm ERR! dev @umijs/plugin-qiankun@"^2.41.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: react@16.14.0 npm ERR! node_modules/react npm ERR! peer react@"16" from @umijs/plugin-qiankun@2.41.0 npm ERR! node_modules/@umijs/plugin-qiankun npm ERR! dev @umijs/plugin-qiankun@"^2.41.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! npm ERR! For a full report see: npm ERR! /van_cache/npm/_logs/2024-02-18T09_52_34_158Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: npm ERR! /van_cache/npm/_logs/2024-02-18T09_52_34_158Z-debug-0.log

github-actions[bot] commented 7 months ago

由于缺乏足够的信息(github、stackblitz、codesandbox等可复现仓库),我们暂时关闭了该 Issue。请修改(不要回复) Issue 提供最小重现以重新开启。谢谢。如果只是单独的技术咨询,可移步 https://qiankun.umijs.org/#-community 交流~

kuitos commented 7 months ago

@umijs/plugin-qiankun 更新到最新版本