2

I'm trying to use pm2 on Heroku.

  • When I run: heroku run bash and do a pm2 ls I get an empty list.
  • When I run: heroku ps:exec I get "There was an error connecting to the dyno!"

So, how can I use pm2 commands on Heroku, e.g. l: pm2 reload all, pm2 list and so on?

juliomalves
  • 42,130
  • 20
  • 150
  • 146
Remah Amr
  • 70
  • 5

1 Answers1

2

Click on run console then add your commands enter image description here