Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion Installing and Using Create React App

Problem in installing react app

npx create-react-app my-app 'npx' is not recognized as an internal or external command, operable program or batch file. This is error is popping up.

1 Answer

Mark Westerweel
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Mark Westerweel
Full Stack JavaScript Techdegree Graduate 22,378 Points

Try create-react-app my-app . It should do the trick. In the vid, Guill first does installing it through npm install create-react-app

Other than that, it may be because of a slow internet connection (see link)[https://docs.microsoft.com/en-us/answers/questions/24156/npx-create-react-app-app-names-keeps-on-failing-in.html]

npx create-react-app my-app is another way. You don't need to npm install first. NPX is modern