-
-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
help please i have no clue how to fix this #239
Comments
Just do 'npm rebuild' |
Did that but now i get this error node:internal/modules/cjs/loader:602 Error: Cannot find module 'D:\GitHub\ShaDragonBot\node_modules@discordjs\util\dist\index.js' Node.js v22.2.0 |
npm i discord.js |
node:internal/url:814
const href = bindingUrl.parse(input, base, raiseException);
^
TypeError: Invalid URL
at new URL (node:internal/url:814:29)
at parseURL (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\undici\lib\core\util.js:49:11)
at Object.parseOrigin (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\undici\lib\core\util.js:115:9)
at new Pool (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\undici\lib\pool.js:70:23)
at new Node (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\erela.js\dist\structures\Node.js:91:21)
at new Manager (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\erela.js\dist\structures\Manager.js:108:17)
at Object. (C:\Users\seank\Documents\GitHub\ShaDragonBot\src\bot.js:57:21)
at Module._compile (node:internal/modules/cjs/loader:1434:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1518:10)
at Module.load (node:internal/modules/cjs/loader:1249:32) {
code: 'ERR_INVALID_URL',
input: 'http://node2.catfein.com:40046:40046'
}
Node.js v22.2.0
C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\discord.js\src\sharding\Shard.js:178
reject(new DiscordjsError(ErrorCodes.ShardingReadyDied, this.id));
^
Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready.
at Shard.onDeath (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\discord.js\src\sharding\Shard.js:178:16)
at Object.onceWrapper (node:events:635:26)
at Shard.emit (node:events:532:35)
at Shard._handleExit (C:\Users\seank\Documents\GitHub\ShaDragonBot\node_modules\discord.js\src\sharding\Shard.js:439:10)
at ChildProcess.emit (node:events:520:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
code: 'ShardingReadyDied'
}
Node.js v22.2.0
The text was updated successfully, but these errors were encountered: