0

I'm trying to run create-react-app but it seems it's not working the way it's supposed to. I'm trying the following command:

  1. create-react-app my-app
  2. cd my-app
  3. npm start

and getting the following errors while trying to run if you could help that'llenter image description here be great

Avinash Dalvi
  • 8,551
  • 7
  • 27
  • 53

3 Answers3

1

The log you've shared says, creation is not success and you're using create-react-app version is very old.

Better you use npx which will ensure that you are using the latest version on the fly without any global installation. Try the below command

$ npx create-react-app festudents
Ram Babu
  • 2,692
  • 3
  • 23
  • 28
1

Please remove globally create-react-app try this npm remove -g create-react-app

Then just run those commands

npx create-react-app my-app
cd my-app
npm start

Source: https://reactjs.org/docs/create-a-new-react-app.html

HDallakyan
  • 740
  • 2
  • 9
  • 24
0

Try removing the creat-react-app boilerplate, Then create a new with the following command

npx create-react-app my-app 2
warmachine
  • 376
  • 1
  • 8