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

Hi, Devs I woke up to 2022 to run my first React app using:

 npx create-react-app xyz

I was greeted with this error:

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


Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

I used the solution proffered but it could not help. I still got the same error.

This is the solution:

I used the following code in the terminal:

clear-npx-cache

I hope you find this helpful. Namaste🙂