GadTheDad
GadTheDad

Reputation: 125

trying to create a new react project by (create-react-app) it is not working properly

I installed latest version of node.js, react.js and next.js Everything worked properly but at the point I try to create my react project folder in the terminal by create-react-app my-app it tells me this:

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.

the problem began while I was already working on a project but one day when I did npm start I got an error I couldn't solve so I decided to create a new project and then that happened did any one got this lately ?

Upvotes: 0

Views: 730

Answers (2)

Gøran Cantona
Gøran Cantona

Reputation: 641

Uninstall create-react-app and run npx create-react-app@latest instead. Then you'll use the latest version of create-react-app

Upvotes: 0

Evren
Evren

Reputation: 4410

Try to remove current version that you have locally and do it with latest version

npm uninstall -g create-react-app
npx clear-npx-cache
npx create-react-app@latest my-app

Upvotes: 2

Related Questions