Skip to content
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

error start #241

Open
AnonyDevQTR opened this issue Jun 28, 2024 · 5 comments
Open

error start #241

AnonyDevQTR opened this issue Jun 28, 2024 · 5 comments

Comments

@AnonyDevQTR
Copy link

hello i have configured everything but i have this error every time yet everything is good in environment ect i enclose error could you help me please.

error=

System >> Starting up ...

© CorwinDev | 2021 - 2024
All rights reserved

System >> Version 10.0.0 loaded

Unhandled promise rejection: Error [TokenMissing]: Request to use token, but token was unavailable to the client.
at fetchRecommendedShardCount (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\util\Util.js:69:21)
at ShardingManager.spawn (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\sharding\ShardingManager.js:197:22)
at Object. (C:\Users\Zeus\Desktop\Discord-Bot-main\src\index.js:141:9)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
code: 'TokenMissing'
}
Error sending unhandled promise rejection to webhook
Error [TokenMissing]: Request to use token, but token was unavailable to the client.
at fetchRecommendedShardCount (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\util\Util.js:69:21)
at ShardingManager.spawn (C:\Users\Zeus\Desktop\Discord-Bot-main\node_modules\discord.js\src\sharding\ShardingManager.js:197:22)
at Object. (C:\Users\Zeus\Desktop\Discord-Bot-main\src\index.js:141:9)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
code: 'TokenMissing'
}

@TemelReyizz
Copy link

TemelReyizz commented Jun 28, 2024 via email

@AnonyDevQTR
Copy link
Author

my token is well added to the environment file I redo npm install I try to restart my always this error that appears

@TemelReyizz
Copy link

TemelReyizz commented Jun 28, 2024 via email

@AnonyDevQTR
Copy link
Author

I've already reset them, but that doesn't solve the problem.

@TemelReyizz
Copy link

TemelReyizz commented Jun 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants