If you use npm 5.1 or earlier, you can't use npx
.
Instead, install create-react-app
globally:
npm install -g create-react-app
Now you can run:
create-react-app my-app
If you use npm 5.1 or earlier, you can't use npx
.
Instead, install create-react-app
globally:
npm install -g create-react-app
Now you can run:
create-react-app my-app
Thanks!
You are running
create-react-app` 4.0.3, which is behind the latest release (5.0.1).
We no longer support global installation of Create React App.
Please remove any global installs with one of the following commands:
Thanks a lot for this post, Its help
thankz pro!
Help!! I have been trying to install it, as suggested and get this message:
I have looked up instructions as mentioned and it just takes me to the original page with same instructions. Why isn't it working??
Any help is much appreciated!
I solved my own issue. I was able to find help here https://lightrun.com/answers/facebook-create-react-app-create-react-app-stuck-on-v403-cannot-create-a-new-app and fixed by running command: npx create-react-app@5.0.1 app-name
I'll leave this here in case this can help anyone else with the same issue.
Thanks @angv2852 That helps!
For everybody who had or may have a problem with installation, here is one example of a solution
https://stackoverflow.com/questions/70358474/error-while-creating-new-react-app-you-are-running-create-react-app-4-0-3-w
tepki uygulamasını yükledikten sonra da bu sorunla karşılaşıyorum
olaylar.js:292 fırlatma er; // İşlenmeyen 'hata' olayı ^
] } npm HATA! kod ELIFECYCLE npm HATA! hata 1 npm HATA! my-app@0.1.0 başlangıç:
react-scripts start
npm HATA! Çıkış durumu 1 npm ERR! npm HATA! my-app@0.1.0 başlangıç komut dosyasında başarısız oldu. npm HATA! Bu muhtemelen npm ile ilgili bir sorun değildir. Yukarıda muhtemelen ek günlük kaydı çıktısı vardırnpm HATA! Bu çalıştırmanın tam bir günlüğü şurada bulunabilir: npm ERR! C:\Users\Arif\AppData\Roaming\npm-cache_logs\2020-07-06T04_51_26_637Z-debug.log Not C:\Users\Arif\my-app>
@rimjhim07 Thank you so much!!! it worked for me
Thank you :)
- npm install create-react-app
thanks
Yes
👍
Nice 🙂
Thanks
npx create-react-app my-app cd my-app npm start
### I am getting this error:
up to date, audited 76 packages in 2s
2 packages are looking for funding
run npm fund
for details
3 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run npm audit
for details.
Thanks a lot for this post, Its help
Hi
hii
For everybody who had or may have a problem with installation, here is one example of a solution https://stackoverflow.com/questions/70358474/error-while-creating-new-react-app-you-are-running-create-react-app-4-0-3-w
It works for me. Thanks😇
Thanks @gaearon!