Discord.Js Error in Server.js

/rbd/pnpm-volume/f89bff91-9c7b-4939-a63f-beb2bdd9ed3f/node_modules/discord.js/src/client/Client.js:42

7:09 PM

} catch {

7:09 PM

^

7:09 PM

7:09 PM

SyntaxError: Unexpected token {

7:09 PM

at createScript (vm.js:80:10)

7:09 PM

at Object.runInThisContext (vm.js:139:10)

7:09 PM

at Module._compile (module.js:617:28)

7:09 PM

at Object.Module._extensions…js (module.js:664:10)

7:09 PM

at Module.load (module.js:566:32)

7:09 PM

at tryModuleLoad (module.js:506:12)

7:09 PM

at Function.Module._load (module.js:498:3)

7:09 PM

at Module.require (module.js:597:17)

7:09 PM

at require (internal/module.js:11:18)

7:09 PM

at Object. (/rbd/pnpm-volume/f89bff91-9c7b-4939-a63f-beb2bdd9ed3f/node_modules/discord.js/src/index.js:8:11)

HELP ME!!!

You are probably missing a bracket somewhere in your code

1 Like

What code, glitch or discord code

Can you post your project link here if it’s public?

1 Like