[英]Heroku saying I don't have Procfile
basically, i have procfile (without.txt) and it says i dont, so i cant configure dynos on heroku基本上,我有 procfile (without.txt),它说我没有,所以我不能在 heroku 上配置测功机
here is how the repository is like: https://i.stack.imgur.com/tVYT0.png这是存储库的样子: https://i.stack.imgur.com/tVYT0.png
the text in procfile: procfile 中的文本:
worker: node bot.js
i am horrible at this and i never used StackOverflow so yeah- if you reply to this use an easy language我对此很可怕,而且我从未使用过 StackOverflow,所以是的 - 如果您回复此问题,请使用简单的语言
(this is a discord.js bot) (这是一个 discord.js 机器人)
Here's some stuff that you might want to try,这里有一些你可能想尝试的东西,
1: Making sure that your document is named .Procfile
(capital P and. before) 1:确保您的文档名为
.Procfile
(大写 P 和。之前)
2: Checking build logs for errors 2:检查构建日志是否有错误
3: Deleting and re-creating your procfile 3:删除并重新创建您的 procfile
Also you should be using worker
for a discord bot.此外,您应该将
worker
用于 discord 机器人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.