简体   繁体   中英

Heroku won't detect my Procfile from my Github repository?

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.

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