My project is stuck at starting


#1

My project, planetarp is stuck at ‘Starting’ and has the status loader continuously spinning.


#2

Your project doesn’t look to be listening on a port. You have the code to do so in server.js, but it’s not linked from your bot.js file. Add the following to the top of bot.js

var express = require('express');
var app = express();

app.get("/", function (request, response) {
  response.sendStatus(200);
});

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