I'm trying to host a Discord bot on Heroku, and I've written all of my bot, but it won't detect my Procfile. I put it in the root directory of the repository, it's just Procfile with a capital P without a file extension, and I have no idea why it won't work. I've remembered to commit it and deploy my heroku project.
My Procfile:
The build log:
Did you go to the build packs on Heroku and add node.js? If not that could be the problem. Also make sure to change the starter on Heroku.
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.