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

Time:04-20

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 ?

CodePudding user response:

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

CodePudding user response:

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

  • Related