9995f5d518
* Add checking of react versions to make sure it meets the minimum set in peerDependencies * Simplify react check * Update error wording Co-Authored-By: timneutkens <tim@timneutkens.nl> * Add err.sh * Update test-production circleci job name * Add react error message to next-dev-server * Update test for new wording
9 lines
409 B
Markdown
9 lines
409 B
Markdown
# 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.
|