-
-
Notifications
You must be signed in to change notification settings - Fork 699
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
React dependency Issue #1177
Comments
The latest production release of React is 18.3.1, the version you have installed is the v19 Release Candidate. The maintainers are not likely to offer support for beta React releases. You will either need to downgrade your version of React to the latest official release (v18.3.1), or if for some reason you must use the React RC version, do as the error message suggests and use the |
I am facing the same issue |
I have the same problem. As a note, this is from a default Next.js installation which appearently uses React 19. |
i'm preparing the v11 that will address this issue |
Need that as well. This essential for those who want to upgrade to Next.js 15, which uses React-19. |
@fkhadra any update ? |
@Adityapanther almost there #1178, I have a couple of test to fix and hopefully next week I can release |
@fkhadra , waiting. just upgrade to NextJS 15 |
@fkhadra waiting to hear from u about this update, thanks for your efforts! |
Hey, I've released a new major version, please read the release note before upgrading 🙏🏽 |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
npm resolution error
While resolving: cfc_ui@0.1.0
Found: react@19.0.0-rc-66855b96-20241106
Could not resolve dependency:
peer react@">=18" from react-toastify@10.0.6
Trying to install with --force or --legacy-peer-deps breaks other packages
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox (https://codesandbox.io/s/new) example below:
What is the expected behavior?
It should install
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
react@19.0.0-rc-66855b96-20241106
The text was updated successfully, but these errors were encountered: