I tried installing using npm i create-react-app
and even npx create-react-app new-app
. I even tried npm init react-app new-app
.
I’m getting this error message:
You are running create-react-app 4.0.0, which is behind the latest release (4.0.1).
We no longer support global installation of Create React App.
How can I fix this?
Kenil Vasani
I also face the same problem but the problem gets solved when I uninstall the
create-react-app
globally and then again install it globally.Uninstalling Command:
installing Command:
if you have an older npm version (npm version < 5.2) then use this command :
it solved my problem I hope it will solve yours