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 React Components (2018) Build Modular Interfaces with Components Using Create React App

When downloading your folder, how do I start the application? Npm start command is not working.

I'm inside the app folder in the terminal, but I don't understand how to make the app start on browser.

6 Answers

download files > using git cd into the folder scoreboard > npm install > npm start

I navigated to the folder location in term, npm start, and I get "we're unable to detect target browsers"

I created the project workspace locally. It worked the first time through, but I had to restart my machine...

What is your environment? are you using a local machine? or your building on a remote server?

in my case, I am using AWS EC2 server. I ran "npm start" inside the scoreboard folder, then added port 3000 to the security group inbound rules in order to open the app in the browser!

hope this helps, good luck

yeah, i forgot to mention, you need to access the app by attaching the port to the url, for example

192.168.1.5:3000

Thank you guys. I got it!

nm, simply responding 'yes' in term updates the package.json and everything's honky-dory

The files in the project folder don't create a node module. How do I add node into the project?