start up error

Every time I run my bot I get an error message saying
Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (/home/container/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 (/home/container/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)
Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (/home/container/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 (/home/container/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)
Im a noob at dev so please explain to me what I need to do step by step pls
2 Replies
d.js toolkit
d.js toolkit9mo 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!
SteveRixxy
SteveRixxyOP9mo ago
@Qjuh it's a src I got given to me
Want results from more Discord servers?
Add your server