#Cannot read propertiesof undefined cache

13 messages · Page 1 of 1 (latest)

bleak musk
#

Hello, Even though there is no command or event I use actively, the bot is pulling a message and trying to send it. For this reason, I think I got an error. What could be the possible solutions? NodeJS 18.16.0, d.js -> 13.0

lone inletBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
bleak musk
ebon rune
#

Show your code!
please show the output of npm ls discord.js

bleak musk
#

Oh rights

#

I cannot give an example of a certain code, the reason is that Discord.js gives a code reference in the question and does not show it in my own code.

ebon rune
#

discord.js supports modals and you are using a very outdated version

#

show the code where the error comes from

#

please remove discord-modals and update to 13.17.1

bleak musk
ebon rune
#

first update your djs version and see if that error still persists