Luu Quang Truong
Luu Quang Truong

Reputation: 11

Creating a new React app fail in Windows 10

I'm trying to create a new ReactJS project by typing on cmd:

create-react-app new_project

But the cmd appear like this for hours and no change:

Creating a new React app in...

My node version: v10.16.3.

My npm version: 6.12.0.

Please help me to solve this problem. Thanks.

Upvotes: 1

Views: 311

Answers (2)

bhuvnesh pattnaik
bhuvnesh pattnaik

Reputation: 1463

It seems create-react-app not installed globally properly.

Try this

npm install -g create-react-app

the restart you system.

Now try using the command you used.

create-react-app new_project

Upvotes: 0

madhu131313
madhu131313

Reputation: 7386

Try

npm install npm@latest -g

and run again

Similar problem's here

create-react-app hangs when initializing an app

Upvotes: 1

Related Questions