Error when starting Discord Bot

Hi,

I am trying to host this Discord bot: https://github.com/DougTy/concord on glitch.

But following the instructions on the page (https://github.com/DougTy/concord/wiki) I enter node index.js but it responds with this error message:

“Starting inspector on localhost:9200 failed: address not available
[2018-07-15 08:59:11] process exited with code 12, restarting…”

It repeats that error throughout the logs.

I have no idea what is going on pls help me

You don’t need to do node index.js to start a node process on glitch, you just need to properly configure your package.json with a start script, and glitch will handle starting it.

I’m sorry for sounding like I don’t understand, but how would I do that?

It seems like the github repository already has a package.json, could you give a link to your project so I could see?

It’s a little difficult to comment without seeing the code as your project is private, and the linked app doesn’t have a config.json settings file. But it looks like it’s trying to listen on port 9200 - we recommend you use 3000 (which is what process.env.PORT defaults to)