Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
ayele girma3,830 Points
I run this example on my machine not working. and I don't see you install npm libraries anywhere, why?
you didn't go through npm installation on. I copied the vender-folder on my machine and try run the code and not work.
I mimic the same structure in Workspace (copy/paste each file) on my environment (Cloud9) and it's working fine without doing any npm install... Yours should be working... Can you list your steps?....
If you already have npm installed, you can use these commands:
npx create-react-app my-app cd my-app npm start
first command will create the application, then you have to go into that directory, and the last one will start the application and open it on your default browser. Keep in mind that the application created doesn't use JSX. However, you can still follow along easily