Replit Discord Bot - Cannot find module discord.js


Any ideas on how to fix this? It’s my first time coding with js lol so sorry if this is dumb

Welcome there,

Have you installed a package named discord.js?

For future reference, screenshots of code are not the most useful way to get help. Please share a link to your REPL, GitHub repository with your most recent code, or paste it here in the forum using the Code Formatter.

Oh sorry. Here’s the link: Odium - Replit

I don’t have discord.js installed. any idea how to install it?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.