Ask coding questions

← Back to all posts
Problems with discord.js, anyone?
saltpit

Hi! A few hours ago I began to had trouble with discord.js, as one of my bots didn't start anymore. The console says "cannot find module".

I made changes before but did undo them. So I decided to try it with a new repl and even that doesn't work!

But, finding no post on this issue yet, makes me wonder. Does no one else have trouble with this? Would someone try to reproduce it, please? Any help appreciated.

Voters
saltpit
Comments
hotnewtop
[deleted]

Try installing the package directly through Repl first.

LalithKumar10

same goes on here