-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
NextJS 15 unmet peer react@"^16.11.0 || ^17.0.0 || ^18.0.0": found 19.0.0-rc-65a56d0e-20241020
#3028
Comments
@Yonom try --force option |
@promer94 not a "good first issue", the fix has already landed in main 5 months ago, it just needs to be deployed to npm |
Can this be deployed? Thanks! |
you can use this in package.json (make sure to use the react version you use in your project, my "19.0.0-rc-66855b96-20241106"):
|
ah, nice it worked for me. For
|
When can we expect a new release, that's compatible with React 19? |
What version nextjs I should use for avoid this issue? |
you can use nextjs 14 |
now react 19 is out is it possible to update swr? |
We've just released v2.3.0, which supports React 19, so I think this issue would be fixed. |
Bug
The supported React peer dep version range for v2.2.5 does not include React 19.0.0-rc
The
main
branch does, however, no new versions were released in the previous 5 months.The dependency
use-sync-external-store
has a similar issueswr 2.2.5
nextjs 15.0.0
react 19.0.0-rc-65a56d0e-20241020
using pnpm as package manager
The text was updated successfully, but these errors were encountered: