[Bug Report]
问题出在哪个包
@taroify/core
问题出在哪个平台/设备/浏览器
微信小程序
平台/设备/浏览器
No response
你正在使用的 Taroify 版本是多少
@taroify/[email protected]
描述一下您遇到的问题以及重现步骤
在taro3中无法安装,taro3要求react版本react@"^18.0.0" 而taroify/core则限制为 react@"^17.0.2" 如果可以,请修改限制
➜ app git:(master) ✗ npm i @taroify/core -S --production
npm WARN config production Use --omit=dev instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"^18.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.2" from @taroify/[email protected]
npm ERR! node_modules/@taroify/core
npm ERR! @taroify/core@"*" 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.
如果可能的话,请包含一个代码框的链接与复制的问题
No response
你知道如何解决这个问题吗
No response
您是否愿意参与修复这个问题,并创建一个 PR
No response
修复这个问题的解决方案
修改限制