question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

create-react-app doesn't work

See original GitHub issue

Even 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:closed
  • Created 6 years ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ShruthiJayaprakashcommented, Oct 30, 2017

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.

2reactions
afontcucommented, Jul 17, 2017

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 version 5.2.0, so in case you are using that one, you should upgrade to 5.3.0 or even downgrade to latest v4.

Although with that error message I’d go with the PATH issue.

Hope it helps!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found