mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
44d1a1cb15
This PR is part of a larger effort to migrate error messages to MDX and use App Router: https://github.com/vercel/front/pull/23459
12 lines
418 B
Plaintext
12 lines
418 B
Plaintext
---
|
|
title: Invalid React Version
|
|
---
|
|
|
|
## Why This Error Occurred
|
|
|
|
You tried running `next` in a project with an incompatible react version. Next.js uses certain react features that when are unavailable show this error since it can't work without them.
|
|
|
|
## Possible Ways to Fix It
|
|
|
|
Run `npm i react@latest react-dom@latest` or `yarn add react@latest react-dom@latest` in your project and then try running `next` again.
|