Skip to content
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 #13716

Open
JingqiGao-2 opened this issue Dec 6, 2024 · 3 comments
Open

npx create-react-app #13716

JingqiGao-2 opened this issue Dec 6, 2024 · 3 comments

Comments

@JingqiGao-2
Copy link

Why after react19 was released npx create-react-app demo --template typescript typescript has dependency issues

@Greg-Myers-SB
Copy link

Confirmed.

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
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/gregory.myers/.npm/_logs/2024-12-06T11_49_25_590Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/gregory.myers/.npm/_logs/2024-12-06T11_49_25_590Z-debug-0.log
`npm install --no-audit --save @testing-library/jest-dom@^5.14.1 @testing-library/react@^13.0.0 @testing-library/user-event@^13.2.1 web-vitals@^2.1.0` failed

@irvelervel
Copy link

Confirmed, we're already talking about it here -> #13715

@yhojann-cl
Copy link

Wrong repository, the problem is not for React Scripts, is Testing Library for React: testing-library/react-testing-library#1372

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants