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

Bug: creation reactjs new project latest so v19 #13726

Open
Productivix opened this issue Dec 13, 2024 · 5 comments
Open

Bug: creation reactjs new project latest so v19 #13726

Productivix opened this issue Dec 13, 2024 · 5 comments

Comments

@Productivix
Copy link

see issue and solution on facebook/react#31701

@lcrespilho
Copy link

@Productivix , which solution? Are you refering to the yarn create react-app module one? That is not a solution.

@Productivix
Copy link
Author

no is no a "solution" rather a "patch"

@webjohnjiang
Copy link

@Productivix the command of all the template are broken, no solution

@YuAnWu0000
Copy link

Please fix this. It is unreasonable for a developer see any of error after typing npx create-react-app my-app . It means your "Quick Start" doesn't work anymore.
reference: https://create-react-app.dev/docs/getting-started

@isaacweathers
Copy link

SO this which was mentioned in the linked issue from @avithe1 worked at least for me on mac in VS Code Node DevContainer after running standard npx create-react-app

cd inside new directory and run:

npm install --save-dev @testing-library/react @testing-library/dom @testing-library/jest-dom @testing-library/user-event @types/react @types/react-dom @types/jest @types/node --legacy-peer-deps

Then it still failed when on start up so npm instal web-vitals --save-dev and seems to come up alright.

But I did nvm to last node version v20.18.2 so went a bit backwards from current LTS. Yes a bit annoying I agree @YuAnWu0000 but meh... it's React. Like the wild west.

Definitely not PROD ready though as 8 vulnerabilities (2 moderate, 6 high) cannot go out the door and not gonna go debug them tonight.

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

No branches or pull requests

5 participants