Try running npx clear-npx-cache
to clear your npx cache and then running the npx create-react-app your-app
command.
Also have a look at this answer on clearing the cache.
Additionally, it might be worth trying to force the latest version with:
npx create-react-app@latest my-app --use-npm
More Related Contents:
- Unable to create new react app with npx create-react-app
- create-react-app is not working since version 4.0.1
- How to specify a port to run a create-react-app based project?
- How to fix missing dependency warning when using useEffect React Hook
- Difference between npx and npm?
- Template not provided using create-react-app
- ‘npm start’ returns error: “There might be a problem with the project dependency tree”
- error: Do not use Array index in keys
- 404 Not Found when trying to install ESLint 8.4.4 with create-react-app
- Line 0: Parsing error: Cannot read property ‘map’ of undefined
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- Use custom build output folder when using create-react-app
- Installing create-react-app gives npm ERR! shasum check failed and npm ERR! Unexpected end of JSON input while parsing near ‘…mojOzGIEI2rg0m24Yb5Oq’
- npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap
- deploying create-react-app to heroku with express backend returns invalid host header in browser
- Using `”homepage”` in package.json, without messing up paths for localhost
- How do I hide an API key in Create React App?
- ‘TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined’
- How to avoid using relative path imports (/../../../redux/action/action1) in create-react-app
- Found 4 vulnerabilities on npm install
- react long press event
- How to use environment variables in Github Page?
- Create-React-App Proxy in Production Build
- What is public/manifest.json file in create-react-app?
- Get version number from package.json in React Redux (create-react-app)
- How to set build .env variables when running create-react-app build script?
- create-react-app: how to use https instead of http?
- Disable ESLint that create-react-app provides
- Cache busting with CRA React
- ‘React’ was used before it was defined