Skip to content
Sign upLog in
← Back to Community
I am getting an error that seems to be from discord.js.
Profile icon
Wosca

I don't know how I am supposed to fix this syntax error since it seems to be inside of the discord.js package.
image

Voters
Profile icon
shadyAnX7
Profile icon
Wosca
Comments
hotnewtop
Profile icon
OfficialNoynYT

Hey, you leaked your token!

Profile icon
Coder100

You must have been using the latest version of discord.js, which replit nodejs doesn't support yet.

Solutions

Try using the bash language instead: https://repl.new/bash
Try using discord.js v12 instead
Try using nix