Cannot use 'in' operator to search for 'code' in undefined
When running my bot it sometimes returns this error and exists
I am running the bot in a deno docker container.
Bot code:
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!is there a way to debug or fix this?
:issue_open: #10327 in discordjs/discord.js by NeuroWhAI opened <t:1717653636:R>
ws
throws TypeError: Cannot use 'in' operator to search for 'code' in undefined
when with Deno