-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
npx create-react-app conflicts with react 19 #13911
Labels
Comments
encountered the same issue |
Issue persists. |
Same issue... any workaround? |
it seems like create-react-app is unmantained. maybe use vite instead? |
If you downgrade to version
|
I have encountered the same problem. Is there a successful solution? |
@carrey493 you can use Vite or downgrade react to version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current system Versions
npm -v -->11.0.0
npx -v --> 11.0.0
Run
npx create-react-app simple-app
Error
Installing template dependencies using npm...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error react@"^19.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react@"^18.0.0" from @testing-library/[email protected]
npm error node_modules/@testing-library/react
npm error @testing-library/react@"^13.0.0" from the root project
Explaination
Issue with the newer react version 19 :D
The text was updated successfully, but these errors were encountered: