create-react-app doesn't work
See original GitHub issueEven after installing npm instal create-react-app -g
globally,
create-react-app ReactApp
doesn’t work and throws the following error as given below -
E:\Folder\ReactJS>create-react-app helloReact
'create-react-app' is not recognized as an internal or external command,
operable program or batch file.
Any kind of help would be appreciated.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (2 by maintainers)
Top Results From Across the Web
Create React App not working - Stack Overflow
1. update the npm version (npm install npm@latest -g) · 2. clear the cache (npm cache clean --force) · 3. create the react...
Read more >What To Do if create-react-app Doesn't Work
1. npm uninstall -g create-react-app. This is the npm command to uninstall your global installation of create-react-app .
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 is not working · Issue #10132 - GitHub
First, you'll need to uninstall "create-react-app" using the "npm uninstall -g create-react-app" command. Run "npx create-react-app my-app" each ...
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 >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
I faced the same issue. I am a windows 10 user and what i did is add environment variable C:\Users{user}\AppData\Roaming\npm in system variable PATH. It worked for me.
Hi,
Looks like you are using Windows, make sure you added your npm global modules to your PATH variable.
Plus, which
npm
version are you using? I think there’s some kind of bugs with version5.2.0
, so in case you are using that one, you should upgrade to5.3.0
or even downgrade to latestv4
.Although with that error message I’d go with the PATH issue.
Hope it helps!