My project is stuck at 'Starting' and has the status loader continuously spinning


#1

My project, twitterstreamliker is stuck at ‘Starting’ and has the status loader continuously spinning. The only other similar question says to change the port number but I have tried that.

Tom


#2

I can’t reproduce this in a remix - do you see any errors in the logs?


#3

It only seems to do it when I have the correct keys in my .env file


#4

Where’s best to access logs?


#5

Click on ‘Status’ and logs appear in the panel that opens.


#6

Ah, yep all in there is working correctly - I was looking through /var/log in the console haha


#7

Can I invite you to edit mine and you’ll be able to see it then?


#8

Oh gee what did I have wrong :///


#9

Your project wasn’t listening on a port, so I added the following which tells Express to look for requests on port 3000.

// listen for requests :)
var listener = app.listen(process.env.PORT, function () {
  console.log('Your app is listening on port ' + listener.address().port);
});

#10

Ah you’re totally right - I removed that accidentally before. Thank you appreciate the help!