Next.js Discord

Discord Forum

Upgrading from 13 to 14

Unanswered
Masai Lion posted this in #help-forum
Open in Discord
Avatar
Masai LionOP
Hello! The command provided at https://nextjs.org/docs/app/building-your-application/upgrading/version-14#upgrading-from-13-to-14 attempts to install React 19, but is not supported in Next 14. Can this be fixed by pinning to version 18 instead of the latest?

3 Replies

Avatar
next 14 does support react 19
what error are you getting?
and also yes you can use react 18 if you want
Avatar
Masai LionOP
Try running the website command and see the error, version 14 requires react 18
I already solved the problem by changing "latest" to version 18