CMS Development

DLagos6
Member

i can't see my cms-react local environment

SOLVE

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 Upvotes
2 Accepted solutions
Jaycee_Lewis
Solution
Community Manager
Community Manager

i can't see my cms-react local environment

SOLVE

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

View solution in original post

Oezcan
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

i can't see my cms-react local environment

SOLVE

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

View solution in original post

2 Replies 2
Oezcan
Solution
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

i can't see my cms-react local environment

SOLVE

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
Solution
Community Manager
Community Manager

i can't see my cms-react local environment

SOLVE

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