Skip to content

can not create-react-app #13727

Closed as not planned
Closed as not planned
@webjohnjiang

Description

@webjohnjiang

Describe the bug

I crreate react app along with the document, but i can't go through the first step.

Environment

macbook pro m4,
nodejs: 22.12.0
npm: 10.9.0

image

Steps to reproduce

I have tried to add force flag to the command, although it can create the folder, but it can not start.

ig: npx --legacy-peer-deps create-react-app

The start error screenshot is:
image

Then, i try to npm audit fix --force and remove react dependencies and reinstall react with npm install react@18 react-dom@18, it finally works.

But i think it maybe has some potential issue. I wonder what's the right way to run create-react-app?

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