create-react-app not working in cmd

Visakh Vijayan - Nov 14 '18 - - Dev Community

Since the version 5.2 of npm we can use npx also.
If somehow you get an error like "command not recognized or something of that sort", use

npx create-react-app --your_app_name-- for installing a react app.

Use npm -v on the command line to know your npm version. :D

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .