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

376
Vistas
Bots Commands Running when file is running on local Machine and Commands are not running in remote server

So I was coding a discord bot using discord.js recently i am facing a issue that when ever i run my bot on mine local machine all the commands works but when i commit and push the code to github and through with the help of buddy.works my code gets edited on my vps. but from few days and commands are not working even though vps is fine and pm2 restart command is also working. Please tell me any fixes to fix this problem.

Regards

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Open two terminal (command prompt) windows. Connect to your VPS inside both windows. In one window run pm2 logs, in the other run pm2 restart [process-name].

In the window with pm2 logs, it'll start logging out the errors that come. (you may need to run one of the commands first). This may be due to a missing package, or something like that.

If you end up finding the error and are unsure how to fix it, feel free to edit your post to accommodate it.

about 4 years ago · Juan Pablo Isaza Denunciar
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