Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

you are running create-react-app 4.0.3 which is behind the latest release (5.0.0) [duplicate]

I got an error while creating a React application. How do I fix it?

Enter image description here

like image 760
Athif Saheer Avatar asked Dec 15 '21 04:12

Athif Saheer


2 Answers

Try running this:

npx clear-npx-cache
like image 182
ProgrammerS Avatar answered Oct 05 '22 05:10

ProgrammerS


It's fixed. I do npx [email protected] my-app.

Reference: Error while creating new React app ("You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)")

like image 21
Athif Saheer Avatar answered Oct 05 '22 05:10

Athif Saheer