Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

373
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda