Hello good, I did a week ago a bot in glitch and every day it turns off but after a while it turned on but yesterday and today it turned off and it does not work and I have restarted everything and it still does not work.
Anyone know why?
and in the tools tab I get some errors that are these:
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/rbd/pnpm-volume/26cb757d-7b6a-4413-b406-3143fb50c4b3/node_modules/.registry.npmjs.org/discord.js/12.2.0/node_modules/discord.js/src/index.js:8:11)
a few seconds ago
/rbd/pnpm-volume/26cb757d-7b6a-4413-b406-3143fb50c4b3/node_modules/.registry.npmjs.org/discord.js/12.2.0/node_modules/discord.js/src/client/Client.js:41
} catch {
^
SyntaxError: Unexpected token {
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions…js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/rbd/pnpm-volume/26cb757d-7b6a-4413-b406-3143fb50c4b3/node_modules/.registry.npmjs.org/discord.js/12.2.0/node_modules/discord.js/src/index.js:8:11)
Try updating discord.js package in package.json from 12.2.0 to 11.5.1, that should fix your problem temporary, contact people who are masters in discord.js stuff to get help.