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 trialayele girma
3,830 PointsI 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.
2 Answers
Gonzalo Blasco
10,405 PointsI 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?....
Fernando Renteria
5,423 PointsIf 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