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'
}
Was this page helpful?