Sharding process Weird Error

I keep getting this weird error and its happening when I add some command file back and persists after I delete it again, very very weird:
C:\Users\dzlan\Documents\GitHub\Scriptly\node_modules\discord.js\src\sharding\Shard.js:162
        reject(new DiscordjsError(ErrorCodes.ShardingReadyDied, this.id));
               ^

Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
    at Shard.onDeath (C:\Users\dzlan\Documents\GitHub\Scriptly\node_modules\discord.js\src\sharding\Shard.js:162:16)
    at Object.onceWrapper (node:events:642:26)
    at Shard.emit (node:events:527:28)
    at Shard._handleExit (C:\Users\dzlan\Documents\GitHub\Scriptly\node_modules\discord.js\src\sharding\Shard.js:412:10)
    at ChildProcess.emit (node:events:527:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) {
  code: 'ShardingReadyDied'
}
Was this page helpful?