shard error

Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (C:\code\node_modules\discord.js\src\sharding\Shard.js:171:16)
at Object.onceWrapper (node:events:629:26)
at Shard.emit (node:events:514:28)
at Shard._handleExit (C:\code\node_modules\discord.js\src\sharding\Shard.js:421:10)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
code: 'ShardingReadyDied'
}
Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (C:\code\node_modules\discord.js\src\sharding\Shard.js:171:16)
at Object.onceWrapper (node:events:629:26)
at Shard.emit (node:events:514:28)
at Shard._handleExit (C:\code\node_modules\discord.js\src\sharding\Shard.js:421:10)
at ChildProcess.emit (node:events:514:28)
at ChildProcess._handle.onexit (node:internal/child_process:291:12) {
code: 'ShardingReadyDied'
}
1 Reply
d.js toolkit
d.js toolkit10mo ago
- 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!