npx create-react-app is not working
See original GitHub issue$ npx create-react-app my-app
You are running create-react-app
4.0.0, which is behind the latest release (4.0.1).
We no longer support global installation of Create React App.
Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app
The latest instructions for creating a new app can be found here: https://create-react-app.dev/docs/getting-started/
npm ERR! code 1 npm ERR! path C:\Users\User\Desktop npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-react-app my-app
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\User\AppData\Local\npm-cache_logs\2020-11-23T18_27_48_723Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Reactions:36
- Comments:90
Top Results From Across the Web
I can't install react using npx create-react-app? - Stack Overflow
14. try npm cache clean --force then run npm install -g create-react-app@latest · it was the right command, thanks a lot. · your...
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 >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 >Create a New React App
If you don't experience the problems described above or don't feel comfortable using JavaScript tools ... npx create-react-app my-app cd my-app npm start....
Read more >Create React App without Create React App - Bits and Pieces
How webpack and babel work in a more practical sense;; The actual starting to ending flow of building the React app;; How development...
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 Free
Top 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
I solved this using the following command.
npm uninstall -g create-react-app
then
npm install -g create-react-app