I think you need to install the previous discord.js version, the new version of discord.js needs a successive version of nodejs than what replit uses
Note that it’s best to include a link to your project when you ask for help
see here on how to install previous discordjs version: