Skip to content
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

Open
Yonom opened this issue Oct 22, 2024 · 3 comments

Comments

@Yonom
Copy link

Yonom commented Oct 22, 2024

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 issue

│   └─┬ swr 2.2.5
│     ├── ✕ unmet peer react@"^16.11.0 || ^17.0.0 || ^18.0.0": found 19.0.0-rc-65a56d0e-20241020
│     └─┬ use-sync-external-store 1.2.2
│       └── ✕ unmet peer react@"^16.8.0 || ^17.0.0 || ^18.0.0": found 19.0.0-rc-65a56d0e-20241020

swr 2.2.5
nextjs 15.0.0
react 19.0.0-rc-65a56d0e-20241020
using pnpm as package manager

@promer94 promer94 added the good first issue Good for newcomers label Oct 23, 2024
@DevOsaWebsite
Copy link

@Yonom try --force option

@Yonom
Copy link
Author

Yonom commented Oct 30, 2024

@promer94 not a "good first issue", the fix has already landed in main 5 months ago, it just needs to be deployed to npm

@promer94 promer94 removed the good first issue Good for newcomers label Nov 4, 2024
@TomerHeber
Copy link

Can this be deployed?
I'm "forced" to use --force with nextjs 15.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants