Cannot read properties of undefined (reading 'GuildVoiceStates')

Cannot read properties of undefined (reading 'GuildVoiceStates')
21 Replies
d.js toolkit
d.js toolkit2y 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!
treble/luna
treble/luna2y ago
and your code? also please tag the correct version
Peretz
PeretzOP2y ago
v18.13.0
treble/luna
treble/luna2y ago
thats node Please reread this
Peretz
PeretzOP2y ago
v18.13.0
No description
Peretz
PeretzOP2y ago
Explain what exactly your issue is. - Cannot read properties of undefined (reading 'GuildVoiceStates') TypeError: Cannot read properties of undefined (reading 'GuildVoiceStates') at Object.<anonymous> (C:\Users\shale\Desktop‏‏serverlist il - עותק\src\index.js:3:57) at Module._compile (node:internal/modules/cjs/loader:1218:14) at Module._extensions..js (node:internal/modules/cjs/loader:1272:10) at Module.load (node:internal/modules/cjs/loader:1081:32) at Module._load (node:internal/modules/cjs/loader:922:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 Node.js v18.13.0
treble/luna
treble/luna2y ago
thats a lot of djs installs+ a TOS violation
Peretz
PeretzOP2y ago
TOS violation? wdym?
treble/luna
treble/luna2y ago
distube is against tos
Peretz
PeretzOP2y ago
i need to install npm install discord.js@13?
treble/luna
treble/luna2y ago
it depends on which version you want to use
Peretz
PeretzOP2y ago
Depends on which version will work for me
amix12
amix122y ago
?? install the latest and you'll be fine
Peretz
PeretzOP2y ago
14.13.0?<
amix12
amix122y ago
yes v14 is recommended
treble/luna
treble/luna2y ago
do uninstall the packages you have though as they wont work
Peretz
PeretzOP2y ago
No description
Peretz
PeretzOP2y ago
?
treble/luna
treble/luna2y ago
that doesnt look to be djs related
Peretz
PeretzOP2y ago
oh you know what can help?
amix12
amix122y ago
a clean startup be careful of which packages you install and the version of djs ofc

Did you find this page helpful?