-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create-react-app doesn't work #2803
Comments
Hi, Looks like you are using Windows, make sure you added your npm global modules to your PATH variable. Plus, which Although with that error message I'd go with the PATH issue. Hope it helps! |
Hi @afontcu. Yes I am on Windows 7 and my npm version is 3.10.10 and node version is v6.11.1. |
I'm afraid I'm not using Windows so I can't really tell you the exact path, but search it online, it might help: Stack Overflow, Github. Hope it helps! |
How did you install Node.js? I would recommend reinstalling it with the official installer on the website. Then open "Node.js command prompt" from your Start menu and use that. I'll close because this question is about Node/npm rather than Create React App itself. If you're having issues with Node I suggest to consult Node specific resources that might have more experts in this area. |
Thanks @gaearon for the suggestion for using Node.js command prompt. But that too didn't work. |
I had the same problem with node v8 ended downgrading to v6 |
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. |
I updated the Node on my computer, after that I ran Command Line as an Administrator and it worked for me. |
Hello, |
@JayStackKrisz @Ulrikp32 maybe its a good workaround but its a security issue to run npm install whatever as windows admin, or linux root .... |
I had the same issue I reinstalled my node and the do the following |
try re-install npm install -g create-react-app, that may update some packages |
Hi all, I'd strongly recommend removing your global installs of create-react-app (unless you're doing it very often) and instead using one of the below:
This ensures you always have the latest version with the latest features - and fixes. |
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 -Any kind of help would be appreciated.
The text was updated successfully, but these errors were encountered: