You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having trouble running the bot because of a couple of errors:
ERROR Error loading shards: Shard 0's process exited before its Client became ready.
RangeError: Plugin at index 0 does not extend Plugin.
Steps to reproduce the behavior:
Install dependencies and run start command.
Expected behavior:
Bot to run without errors.
Error Console log:
[16:51:14:458]: LOG =-=-=-=-=-=-=- Config file Verification -=-=-=-=-=-=-=
[16:51:14:460]: LOG Verifying config..
[16:51:14:460]: LOG Checking client details..
[16:51:16:328]: LOG Checking MongoDB URL
[16:51:17:102]: LOG =-=-=-=-=-=-=- Loading shard(s) -=-=-=-=-=-=-=
/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/erela.js/dist/structures/Manager.js:102
throw new RangeError(`Plugin at index ${index} does not extend Plugin.`);
^
RangeError: Plugin at index 0 does not extend Plugin.
at new Manager (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/erela.js/dist/structures/Manager.js:102:27)
at new AudioManager (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/base/Audio-Manager.js:14:3)
at new Egglord (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/base/Egglord.js:140:18)
at Object.<anonymous> (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/bot.js:5:13)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
[16:51:18:233]: ERROR Error loading shards: Shard 0's process exited before its Client became ready.
/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/erela.js/dist/structures/Manager.js:102
throw new RangeError(`Plugin at index ${index} does not extend Plugin.`);
^
RangeError: Plugin at index 0 does not extend Plugin.
at new Manager (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/erela.js/dist/structures/Manager.js:102:27)
at new AudioManager (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/base/Audio-Manager.js:14:3)
at new Egglord (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/base/Egglord.js:140:18)
at Object.<anonymous> (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/bot.js:5:13)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/discord.js/src/sharding/Shard.js:162
reject(new Error(ErrorCodes.ShardingReadyDied, this.id));
^
Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/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 (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/discord.js/src/sharding/Shard.js:408:10)
at ChildProcess.emit (node:events:527:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
Emitted 'error' event on Shard instance at:
at /Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/discord.js/src/sharding/Shard.js:416:56
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ShardingReadyDied'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
rohitparakh@Rohits-MacBook-Pro Discord-Bot-master % /Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/erela.js/dist/structures/Manager.js:102
throw new RangeError(`Plugin at index ${index} does not extend Plugin.`);
^
RangeError: Plugin at index 0 does not extend Plugin.
at new Manager (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/node_modules/erela.js/dist/structures/Manager.js:102:27)
at new AudioManager (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/base/Audio-Manager.js:14:3)
at new Egglord (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/base/Egglord.js:140:18)
at Object.<anonymous> (/Users/rohitparakh/Desktop/Discord/Discord-Bot-master/src/bot.js:5:13)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
The text was updated successfully, but these errors were encountered:
I am having trouble running the bot because of a couple of errors:
Steps to reproduce the behavior:
Expected behavior:
Bot to run without errors.
Error Console log:
The text was updated successfully, but these errors were encountered: