skip to Main Content

I just installed node.js on my centos 7 server, then install react
it successfully created my new react app, after that, I run:

npm start

and or serve -s build

but none of these run in my browser.

This site can’t be reached

how can I solve this?

2

Answers


  1. enter image description here

    If you have sever inside can you try with start debugging of your application

    Login or Signup to reply.
    1. Stop npm, if you’re using yarn

    2. Start the project with command above, inside your project home folder

    yarn start

    Take some time to learn commands below:

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search