Error connecting to mongodb, others
Unhandled promise rejection: Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (D:\Discord-Bot\node_modules\discord.js\src\sharding\Shard.js:178:16)
at Object.onceWrapper (node:events:633:26)
at Shard.emit (node:events:530:35)
at Shard._handleExit (D:\Discord-Bot\node_modules\discord.js\src\sharding\Shard.js:439:10)
at ChildProcess.emit (node:events:518:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
code: 'ShardingReadyDied'
}
1 Reply
- 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!
- ✅
Marked as resolved by OP