Skip to content
Sign upLog in
← Back to Community

Discord.JS version 13.2.0 not working

Profile icon
kunosyn

Recently, I've been trying to make a discord bot but whenever I try to, I get an error, I've tried updating the version of node using a .replit file, creating a new project, reinstalling discord.js, and so far I've been unable to find a fix for my issue. If anyone could help it would be appreciated greatly.
Screenshot 2021-10-15 1.54.02 PM

Answered by TheDNAHero [earned 5 cycles]
View Answer
Voters
Profile icon
kunosyn
Comments
hotnewtop
Profile icon
TheDNAHero

You need to add a .replit file to update to the new nodejs version. I am pretty sure there is something on it on the replit discord server

Profile icon
kunosyn

@TheDNAHero
Whats the code in the replit file?

Profile icon
SamDev7

To create a nodejs repl, go to https://repl.new and search NodeJS 16