简体   繁体   中英

Why is my heroku worker dyno not working?

I have a worker dyno that I use to run my discord bot. It works normally every day and I have been using it for a long time but suddenly today is just stopped working even though it shows that it turned the dyno on but my bot is still offline and I also have enough hours so it is not a hours problem too(My code is also perfect which I have connected through GitHub pipeline). I cannot figure out what's wrong with the dyno. Does anybody know why it might be happening?

Solved. I was missing the ms module. So I installed the ms module using npm i ms -s and then updated my package.json file to Github and when the build was done, it worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM