JavaScript React Components Build Modular Interfaces with Components Using Create React App

Giovanni Toscani
Giovanni Toscani
3,123 Points

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.

5 Answers

Bartlomiej Zabielski
PRO
Bartlomiej Zabielski
Pro Student 10,357 Points

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

Ernest Son
Ernest Son
13,519 Points

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

Ernest Son
Ernest Son
13,519 Points

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

Tareq Alothman
Tareq Alothman
17,921 Points

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

Tareq Alothman
Tareq Alothman
17,921 Points

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

Ernest Son
Ernest Son
13,519 Points

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