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

JavaScript

Ryan Codes
Ryan Codes
14,888 Points

create-react-app

how do I go about making the create-react-app work, im having this error on my terminal:

zsh: command not found: create-react-app

npm version: 5.6.0 node version: 9.3.0

Guil Hernandez

Ryan,

are you adding a command like this into the terminal: npm create-react-app app-name ?

1 Answer

Ryan Codes
Ryan Codes
14,888 Points

Hi Hayley,

I was able to make it work using npx create-react-app my-app based on its github page

https://github.com/facebook/create-react-app/blob/master/README.md#getting-started

Thank you :)