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