Next.js Discord

Discord Forum

Nextjs 15.x.x results in install of react 19.0.0-rc.xxx but I just want 19.0.0

Unanswered
LukasD posted this in #help-forum
Open in Discord
Avatar
In my project I have Next 15.0.3 and then I have other npm packages that want just 19.0.0. For some reason the way nextjs 15 defines the dependencies it doesn't install simple react 19, it is always installing one of the damn release candidates. And then this results in a weird mismatch of react versions. How do I force my project to just install 19.0.0? Using peer dependencies? And additionally, I am making this post because I think the next team should consider just making React 19 stable a peer dependency instead of one of the release candidates because it makes dep resolution weird.

0 Replies