The package.json had these little ^ which for some reason downloaded the latest version of all packages but removing them will fix it and download the specific Discord.JS version and prevent this error:
Please delete your "node_modules" and "package-lock.json".
And restart the bot.
Please make sure to check and remove "npm install" command from your startup params.
The package.json had these little
^
which for some reason downloaded the latest version of all packages but removing them will fix it and download the specific Discord.JS version and prevent this error: