Skip to content

Bug: creation reactjs new project latest so v19 #13726

Closed

Description

@Productivix

see issue and solution on react/react#31701

Activity

  1. lcrespilho commented on Dec 18, 2024

    @lcrespilho

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

  2. Productivix commented on Dec 18, 2024

    @Productivix
    Author

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

  3. webjohnjiang commented on Dec 18, 2024

    @webjohnjiang

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

  4. YuAnWu0000 commented on Jan 9, 2025

    @YuAnWu0000

    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

  5. isaacweathers commented on Jan 26, 2025

    @isaacweathers

    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.

  6. Productivix commented on Feb 28, 2025

    @Productivix
    Author

    As create-react-app my-app is abandoned, I close this issue now - I will not use Vite to start a new project , I find that situation ridiculous to abandon the simple way to start a project in its own lib !, I have to find a solution.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions