Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'name')
Hello, why is this happening? i don't understand.
3 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!
i'm using discord.js v12, and latest node version.
i want to make the index file read a folder to find others commands in a folder or in subfolder
We do not support v12 anymore, upgrade to v14 (or at least v13)