0

When I create a react app with the command npx create-react-app {name} it takes too long to create. Any suggestions as to how I can make it faster?enter image description here

1 Answers1

1

It would be something related to your bandwidth . Try to installing CRA in your local machine and install using npm install -g create-react-app, then use create-react-app {name} instead of npx create-react-app {name}.

Please note: this is the deprecated way of using CRA. Relying on npx means always using the latest stable version while in this case you have to update react-scripts yourself to remain up-to-date.

keul
  • 7,673
  • 20
  • 45