Npx create-react-app not working on windows?

How to resolve npx create-react-app issue on windows?

We have seen many people stuck in running the npx create-react-app on windows. We can resolve this issue by following below command step by step and start working on reactjs. 

 

To fix this issue run below commands one by one:

npm init

npm install create-react-app

npx create-react-app myapp  

For global installation of react module use below commands:

npm install -g create-react-app

npx create-react-app my-app

cd my-app

npm start

 

Please feel free to contact if you face any further issue.