Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

264
Vistas
Getting a node:error error when running Discord bot online

I'm getting this error when running my discord bot code online. This doesn't happen when I'm running it on VSCode and I'm not able to figure out why. How can I stop this error from happening?

RuntimeError: Cannot find module 'node:events'
Require stack:
- /opt/node_modules/discord.js/src/client/BaseClient.js

Error: Cannot find module 'node:events'
Require stack:
- /opt/node_modules/discord.js/src/client/BaseClient.js

The JSON output of the error is below.
{
  "error": {
    "type": "RuntimeError",
    "message": "Cannot find module 'node:events'\nRequire stack:\n- /opt/node_modules/discord.js/src/client/BaseClient.js",
    "stack": "Error: Cannot find module 'node:events'\nRequire stack:\n- /opt/node_modules/discord.js/src/client/BaseClient.js"
  }
}
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda