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 trialGiovanni Toscani
4,200 PointsWhen 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
Bartlomiej Zabielski
Courses Plus Student 10,363 Pointsdownload files > using git cd into the folder scoreboard > npm install > npm start
Ernest Son
13,532 PointsI navigated to the folder location in term, npm start, and I get "we're unable to detect target browsers"
Ernest Son
13,532 PointsI created the project workspace locally. It worked the first time through, but I had to restart my machine...
Tareq Alothman
17,921 PointsWhat 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
Tareq Alothman
17,921 Pointsyeah, i forgot to mention, you need to access the app by attaching the port to the url, for example
192.168.1.5:3000
Giovanni Toscani
4,200 PointsThank you guys. I got it!
Ernest Son
13,532 Pointsnm, simply responding 'yes' in term updates the package.json and everything's honky-dory
John Hellevik
3,465 PointsThe files in the project folder don't create a node module. How do I add node into the project?