My project remains on the starting screen

Iā€™m having the same problem

are you guys using node.js?

I fixed it

I added this to the bottom of my main file

app.get("/", (request, response) => {
  response.sendFile(__dirname + "/views/index.html");
});
const listener = app.listen(process.env.PORT, () => {
  console.log("Your app is listening on port " + listener.address().port);
});

yep i am using node.js

yeah i was gonna suggest adding

app.listen(process.env.PORT);

but that works 2

1 Like

i sat yesterday importing an express project from another site, confused as to why it was doing the same thing. i added process env and boom. thanks