score:0

npx clear-npx-cache

npm install -g create-react-app

npx create-react-app@latest my-app

score:0

This is happening due to latest version release of create-react-app (5.0.1) all you need to do is first uninstall the previous version of create-react-app by run this command npm uninstall -g create-react-app or just update the previous version npm update -g create-react-app

score:0

To solve this issue run this code: npx create-react-app@5.0.1 reduxapp Pay attention to installing the latest version of create-react-app otherwise, it is not working well.

score:0

This happens when you previously ran this on an older version.

Step 1: Try to clear cache by running its command: npx clear-npx-cache

Step 2: General command to create your app: npx install -g create-react-app react-app

score:2

Also what one can do is enter the console as administrator, located in the user's folder, and put this command (in my case I used the NPM one)

npm uninstall -g create-react-app

we uninstall it and then I reinstall it

npm install -g create-react-app

and voila, it worked for me

score:6

clearing the npx cache solved the issue for me:

npx clear-npx-cache

score:11

The below command worked for me,

npx create-react-app@latest my-app

score:11

So these are the steps I did to get it to work:

npm uninstall -g create-react-app

npx create-react-app@latest my-app-name

score:44

try clearing npx-cache if you recently ran this on older version.

npx clear-npx-cache
npx install -g create-react-app react-app

Related Query

More Query from same tag