-
Notifications
You must be signed in to change notification settings - Fork 26.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Next.js requires React 18.2.0 to be installed. #41975
Comments
Check your |
I agree since the minimum React version has been bumped from 17.0.2 to 18.2.0. found here, however, this dependency is coming from the deploy template provided by Next.js found here so it should be updated.
|
There are hundred of templates so it's not easy to update all of them though. |
@AlphaNecron a simple "replace all" is likely sufficient. IDEs like VSCode make this quite easy, want to open a PR? 🙂 |
Hi @balazsorban44 👋 ... opened #42027 to update the minimum version of React used by examples from 17.0.2 to 18.2.0. |
This PR updates the minimum version of React used by examples from 17.0.2 to 18.2.0. Fixes vercel#41975 ## Bug - [x] Related issues linked using `fixes vercel#41975` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
Currently trying to deploy on Vercel
Which example does this report relate to?
with-supabase-auth-realtime-db
What browser are you using? (if relevant)
Chrome Version 106.0.5249.119 (Official Build) (x86_64)
How are you deploying your application? (if relevant)
Vercel
Describe the Bug
Attempted to deploy a new project using the
with-supabase-auth-realtime-db
template for Supabase Authentication found here, however, I seem to be receiving dependency warnings that are causing the build to fail?Deployment failed with error:
Expected Behavior
Build should be passing without warnings or errors
To Reproduce
Following the documentation outlined here and clicking the "Deploy" button and follow the steps to configure the Project and deploy it.
Project will begin to deploy but fail with the following error:
The text was updated successfully, but these errors were encountered: