Throwing error when trying to boot up my discord bot

I need help fixing this error.
Error is as follows:
/rbd/pnpm-volume/36686abf-5102-4803-91df-528766e332a4/node_modules/.registry.npmjs.org/discord.js/12.0.2/node_modules/discord.js/src/client/Client.js:40

} 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/36686abf-5102-4803-91df-528766e332a4/node_modules/.registry.npmjs.org/discord.js/12.0.2/node_modules/discord.js/src/index.js:8:11)

@Gareth @cori can you try to help

can you show us the affected code?

Try downgrade to discord.js 11.5