Cannot read properties of undefined (reading 'GuildVoiceStates')
Cannot read properties of undefined (reading 'GuildVoiceStates')
21 Replies
- 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!and your code?
also please tag the correct version
v18.13.0
thats node
Please reread this
v18.13.0
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\Desktopserverlist 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
thats a lot of djs installs+ a TOS violation
TOS violation?
wdym?
distube is against tos
i need to install npm install discord.js@13?
it depends on which version you want to use
Depends on which version will work for me
?? install the latest and you'll be fine
14.13.0?<
yes
v14 is recommended
do uninstall the packages you have though as they wont work
?
that doesnt look to be djs related
oh
you know what can help?
a clean startup
be careful of which packages you install
and the version of djs ofc