You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> npx create-react-app loldinardelay
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 C:\Users\monik\AppData\Local\npm-cache\_logs\2024-12-30T08_15_02_751Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\monik\AppData\Local\npm-cache\_logs\2024-12-30T08_15_02_751Z-debug-0.log
The text was updated successfully, but these errors were encountered:
If you've previously installed create-react-app globally via npm install -g create-react-app, I think you uninstall the package.
than try again it's working for me.
link for reference: https://create-react-app.dev/docs/getting-started
i will suggest you to use vite + react. try running command npm create vite@latest i too encountered with the same problem then solved my issue with the help of mosh react tutorial setup
The text was updated successfully, but these errors were encountered: