-
-
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
Could not resolve dependency: peer react@"^18.0.0" from @testing-library/[email protected] #13873
Comments
bumping this |
:bump: |
bump %) |
1 similar comment
bump %) |
retweet |
bump |
2 similar comments
bump |
bump |
Ah, so currently the happy path of create-react-app doesn't even work... bummer |
bump using windows surface pro on ARM |
bump |
I'm having this same issue! A band-aid solution should work for now since this thread looks new, but because it looks like there haven't been any non-documentation changes in over a year, it looks like this problem is the result of the development team having abandoned this project. If you want to continue, here's the full set of commands I used to clean up the errors for a successful run of a new React application. Just note, this is a temporary solution, in that the
|
create-react-app is deprecated. You must use Vite to initialize a project. https://medium.com/@miahossain8888/how-to-create-a-react-app-with-vite-571883b100ef |
I've been playing with different AI generators and they provided Vitae as a faster development process and it didn't throw an error. |
bump |
You can still use For me, the following works: npx create-react-app test-cra # n.b. this step will report failure
cd test-cra
yarn
yarn add web-vitals
yarn start |
bump |
1 similar comment
bump |
The |
You need to install one more package to make unit tests work (in addition to @Hernandezn answer)
|
This worked for me and React is running perfectly fine. Thank you so much for the help @Hernandezn npm install --save-dev @testing-library/react@latest npm install web-vitals |
The text was updated successfully, but these errors were encountered: