internal channel.messages.cache.(...) is crashing the bot
Hey there,
I'm getting the error in the screenshot below repeatedly and I have no idea where it comes from. I already updated Discord.js to the latest version, but that does not fix it.
I'm wondering what to do about it.

14 Replies
npm ls discord.js
please

hmm
npm removed discord.js
npm i [email protected]
i think i fixed it now in another way
you shouldn't do that

all you need to do is npm i discord.js
yes, they didnt have 13.8.1 installed
probably crashed on a vc text
I'm not certain, I may could have just updated the package.json file manually because i didnt know how to update properly to latest at that time
i now did npm i [email protected] and it now shows correctly i would guess?
I always specify the version in cases like this so it wont happen that they install a wrong version for whatever reason
specifying a version is always wrong, you should be using @latest
how is specifying the latest version wrong
because it removes the ^
you should only do that when downgrading to a specific version
yes
could be a yarn thing then