-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@gluestack-ui/themed
: Invalid peer dependency warning for React 18
#1669
Comments
@gluestack-ui/themed
: Invalid peer dependency warning for React 18
@ts-candide Thanks for reporting this. We'll have a look. |
I'm running into this issue as well. Getting warnings during my pre-build and build stages. I'll tag this issue to track for an update! |
@surajahmed, any update on the progress for a fix for this. |
@millerm30 Please update to the latest version of |
Thank you for the update! I will update to the latest today for testing. |
Just updated to the latest. I am running the following: "@gluestack-style/react": "^1.0.52", But I am still running into the same issue. m WARN ERESOLVE overriding peer dependency |
@ts-candide We'll have a look, there is a conflicting peer dependency with |
It seems that the react-native-aria is relying on an outdated dependency in "@react-aria/checkbox": "3.2.1" which is now I believe running 3.14.1 which includes support for React 18 "dependencies": { |
Hi team, I'm facing the same issue on install: Could not resolve dependency: Any update on the progress for a fix for this? |
We're working on it. For now, please use |
Having this exact same issue, which looks like the opposite of the original in this thread. It seems like we bumped all the way to react@18.3.1 which is not yet supported by the latest react native sdk, I think we need to bump to no more than 18.2.0 which is the current supported version in react native. Thoughts? @surajahmed |
Using |
Hi, Is there a reason that the fix isn't simply to unlock the version in here: Why is it |
@joeyfigaro Can you provide repo or reproduction of this? This seems to be working for us. |
@nishant7156, I tried with latest version of @react-aria/checkbox but seems to be breaking in some cases. That's why we have froze the version to |
Description
The
@react-aria/checkbox
dependency in the current version of@gluestack-ui/themed
does not report itself as being compatible with React 18.CodeSandbox/Snack link
No response
Steps to reproduce
Using
pnpm
, a warning is issued when the dependencies are installed:gluestack-ui Version
@gluestack-ui/themed 1.0.37
Platform
Other Platform
No response
Additional Information
@react-aria/checkbox
introduced support for React 18 in v3.4.0, which was released 2 years ago. Bumping the dependency in the@react-native-aria/checkbox
package to at least this version will solve the peer dependency issue.The text was updated successfully, but these errors were encountered: