1

When I try to create an app using create-react-app that give an error

You are running create-react-app 5.0.0, which is behind the latest release (5.0.1).

We no longer support global installation of Create React App.

Please remove any global installs with one of the following commands:

  • npm uninstall -g create-react-app

I am trying this command: npm uninstall -g create-react-app but no solution

2 Answers 2

1

You have to run npx create-react-app myApp rather than running it directly.

Sign up to request clarification or add additional context in comments.

2 Comments

It is not working
Do you have npm installed?
0

npx create-react-app my-app

As per their documentation

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.