Next.js Discord

Discord Forum

Next.js 15 - React version preventing packages installation

Unanswered
Satin posted this in #help-forum
Open in Discord
Avatar
SatinOP
Hello there. I just started a new project using create next app (nextJS15) and when trying to install packages i get an error that seems to come from react version. The react and react dom version are "19.0.0-rc-65a56d0e-20241020". On the React official page i can see latest stable version is 18.3.1. So am i missing somthing? Or maybe it's a bug with create-next-app? Bottom line the real question is how can i solve and make npm packages installation possible. thank you
Image
Image

1 Reply

Avatar
did you try npm i --legacy-peer-deps?