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
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
ok open
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
Thanks @angv2852 That helps!