CMS Development

DLagos6
Membro

i can't see my cms-react local environment

resolver

I need a URL local for watch my changes, i set a PORT but it didn't work,
how can i create a URL for watch my changes in local Envioronment with React?.

 

"start": "PORT=3000 webpack --watch --env.autoupload --mode production"

 i don't find to documentation for it.

0 Avaliação positiva
2 Solução aceitas
Jaycee_Lewis
Solução
Gerente da Comunidade
Gerente da Comunidade

i can't see my cms-react local environment

resolver

Hi, @DLagos6 👋  Thanks for reaching out!

 

To confirm, our documentation for setting up your dev environment is here:

Let's see if any of our community members have any additional insight for you. Hey, @Oezcan @Jnix284 @Anton do you have any suggestions on how @DLagos6 can resolve their issue? 

 

Thank you! – Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

Exibir solução no post original

Oezcan
Solução
Top colaborador(a) | Parceiro Diamante
Top colaborador(a) | Parceiro Diamante

i can't see my cms-react local environment

resolver

Hi @DLagos6 , 

 

I'll try to help you, but I'm not sure if this is the solution.

I think you will need express and need to use something like this:

 

const express = require("express");
const app = express();

 

const hostname = "localhost";
const port = 3000;

 

app.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});

 

Best regards,

Özcan

Oezcan Eser Signature

Exibir solução no post original

2 Respostas 2
Oezcan
Solução
Top colaborador(a) | Parceiro Diamante
Top colaborador(a) | Parceiro Diamante

i can't see my cms-react local environment

resolver

Hi @DLagos6 , 

 

I'll try to help you, but I'm not sure if this is the solution.

I think you will need express and need to use something like this:

 

const express = require("express");
const app = express();

 

const hostname = "localhost";
const port = 3000;

 

app.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
});

 

Best regards,

Özcan

Oezcan Eser Signature
Jaycee_Lewis
Solução
Gerente da Comunidade
Gerente da Comunidade

i can't see my cms-react local environment

resolver

Hi, @DLagos6 👋  Thanks for reaching out!

 

To confirm, our documentation for setting up your dev environment is here:

Let's see if any of our community members have any additional insight for you. Hey, @Oezcan @Jnix284 @Anton do you have any suggestions on how @DLagos6 can resolve their issue? 

 

Thank you! – Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot