Quantcast
Channel: 'create-react-app' is not recognized as an internal or external command - Stack Overflow
Viewing all articles
Browse latest Browse all 34

Answer by Selaka Nanayakkara for 'create-react-app' is not recognized as an internal or external command

$
0
0

I wanted to create a react app with a typescript template. Posting this as a reference for anyone interested in achieving the above.I am using node v21.4.0

The below steps worked for me :

  1. Install create-react-app globally via the following command.

    npm install -g create-react-app

  2. then enter create-react-app command with --template flag set to typescript with your app name.

    create-react-app <your-app-name> --template typescript

Happy coding...


Viewing all articles
Browse latest Browse all 34

Trending Articles