Having Problems with discord bot

Why is this happening?

Show me your package.json

your package.json file doesn’t have the required start command: https://glitch.com/faq#failStart

"scripts": {
    "start": "node server.js"

Add this to your package.json file.

note: if the file where you have handled sharding is shards.js then in the above start script make it node shards.js

1 Like