'Error while creating new react app (You are running `create-react-app` 5.0.0, which is behind the latest release (5.0.1).)

(I am using ubuntu.)

the message i am getting:

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
  • 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 have already tried: npm uninstall -g create-react-app npx clean-npx-cache npx create-react-app@latest project-name

Nothing works

what should i do now?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source