Shard 0's process exited before its Client became ready
My bot was working fine and then I restarted it to make a small non breaking change and from now on even after reverting the change I get this error message:
I've tried uninstalling and reinstalling discord.js but to no avail. I've had this issue before on a EC2 instance that didn't have enough RAM to run a sharded bot but it would time out on the shard that the instance ran out of memory on but it would never immediately timeout like this. I've tried running it on my Mac and Windows desktop which both have 16gb of RAM and both give the same error message. Where do I even begin with debugging/solving this? Thanks.
5 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Seems like you did a breaking change then
Show the code you changed or some context at least
Can you show your sharding code?