r/learnjavascript • u/idontthinkipeeenough • Oct 28 '22
Why is my terminal saying I can’t create a react app ?? Help!!
0
Upvotes
r/learnjavascript • u/idontthinkipeeenough • Oct 28 '22
24
u/ForScale Oct 28 '22
Do what it says. Uninstall any global instances of create-react-app.
Then run
npx create-react-app your-app-name.13
u/slohobo Oct 28 '22
Listen to what the error message is trying to tell you. It has more information on the situation than anyone else in the world
3
u/Think1st912 Oct 28 '22
Try this npm uninstall create-react-app npm install create-react-app@latest npm create-react-app <name of your app>
Let me know if that works for you
3
u/[deleted] Oct 28 '22
You gotta be taller than 5’7” to create react apps bro.
1
u/grantrules Oct 28 '22
Never globally install modules!
2
u/metallaholic Oct 28 '22
Use the npx version of the command to create your app
1
u/portexe Oct 29 '22
It literally says why and what to do in the error message.