vendredi 31 janvier 2020

how to fix react app who not opening in browser

im using visual studio code.

node version v4.2.6

npm version 3.5.2

i connected to remote machine via remote-ssh , run npm start and get this:

react-crm@1.0.7 start /home/opc/maor/react-crm npm-run-all --parallel open:src

react-crm@1.0.7 open:src /home/opc/maor/react-crm babel-node tools/srcServer.js

[Browsersync] Access URLs:


   Local: http://localhost:4000
External: http://10.0.0.2:4000

      UI: http://localhost:4001

UI External: http://localhost:4001


[Browsersync] Serving files from: src

[Browsersync] Watching files...

[Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

webpack built 0c4de8889ae3a0e51298 in 11937ms

Child html-webpack-plugin for "index.html":

webpack: bundle is now VALID.

also even when i try to connect in the browser to http://localhost:4000 nothing showed.

what shoud i do?




Aucun commentaire:

Enregistrer un commentaire