Reputation: 9
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:
create-react-app my-app
cd my-app
npm start
and getting the following errors while trying to run if you could help that'llenter image description here be great
Upvotes: 0
Views: 106
Reputation: 748
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
Upvotes: 1
Reputation: 2862
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
Upvotes: 1
Reputation: 376
Try removing the creat-react-app boilerplate, Then create a new with the following command
npx create-react-app my-app 2
Upvotes: 0