Home > other >  Error with missing module "events" on discord.js
Error with missing module "events" on discord.js

Time:11-23

bot in discord.js

hello, i'm a newbie, i'm having this issue. i can't run my bot.

Error: Cannot find module 'node:events'

My node is updated; 16.13

I just started now to use discord.js, because discord.py is dead and learn everything in a new place is hard *tear

CodePudding user response:

You need node v16.6 for discord.js. This tells you how to upgrade site.

  • Related