npx create-react-app fails
See original GitHub issueDescribe the bug
Command npx create-react-app my-app
fails to complete
Environment
Environment Info:
current version of create-react-app: 5.0.1
running from C:\Users\------\AppData\Local\npm-cache\_npx\c67e74de0542c87c\node_modules\create-react-app
System:
OS: Windows 10 10.0.22000
CPU: (12) x64 AMD Ryzen 5 2600X Six-Core Processor
Binaries:
Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 8.13.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.22000.120.0), Chromium (102.0.1245.41)
Internet Explorer: 11.0.22000.120
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
- Run
npx create-react-app my-app
Expected behavior
A React app is created in a folder called my-app
Actual behavior
npm error about a package not being in the registry
Issue Analytics
- State:
- Created a year ago
- Reactions:25
- Comments:33
Top Results From Across the Web
I can't install react using npx create-react-app? - Stack Overflow
I can't install react using npx create-react-app? · 14. try npm cache clean --force then run npm install -g create-react-app@latest · it was...
Read more >npx create-react-app not working? Here's the solution.
The current solution is simple — run create-react-app and target the latest version. Run creact-react-app using the latest version. npx create- ...
Read more >npx create-react-app error - DEV Community
npx create-react-app error · Solution 1. try to uninstall and reinstall it first. · Solution 2. If you run this in an older...
Read more >create-react-app: command not found (React) error [Solved]
Use `npx` to solve the error create-react-app: command not found, e.g. `npx create-react-app my-app` or install the package globally by running `npm install ......
Read more >What To Do if create-react-app Doesn't Work
If, after all of the above, you are unable to run npx create-react-app my-app , then it might be an issue with Node...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
v4 still works.
npx create-react-app --scripts-version 4.0.3
Seems to be a failed package publish…if someone needs an urgent workaround, then pin the dep in package.json