This worked for me:
npx create-react-app@latest your-project-name --use-npm
More Related Contents:
- Error while creating new React app (“You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)”)
- Unable to create new react app with npx create-react-app
- How to specify a port to run a create-react-app based project?
- 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
- Difference between npx and npm?
- How do I hide API key in create-react-app?
- Template not provided using create-react-app
- ‘npm start’ returns error: “There might be a problem with the project dependency tree”
- What does npm install –legacy-peer-deps do exactly? When is it recommended / What’s a potential use case?
- 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
- 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