Heroku应用程序错误-找不到该进程类型(网络)

时间:2019-11-22 15:38:52

标签: heroku plotly-dash

我以前从未尝试过heroku

所以,现在我正在尝试部署一个简单的破折号应用程序。

我按照此处给出的指示进行操作:https://dash.plot.ly/deployment

我设法部署了该应用程序。或者至少在heroku仪表板中显示:Build succeededDeployed 74122174。

但是当我跑步时:

heroku ps:scale web=1

我得到:

Scaling dynos... !
 ▸    Couldn't find that process type (web).

,然后如果我尝试做heroku open,则会打开一个网页,其中显示:

Application error
An error occurred in the application and your page could not be served. 
If you are the application owner, check your logs for details.

运行heroku logs --tail后,我得到:

2019-11-22T15:23:52.000000+00:00 app[api]: Build succeeded
2019-11-22T15:27:35.812239+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=shrouded-thicket-83126.herokuapp.com request_id=e60b8f60-e5db-43bb-9da4-05da9fc0130d fwd="152.115.83.242" dyno= connect= service= status=503 bytes= protocol=https
2019-11-22T15:27:36.238971+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=shrouded-thicket-83126.herokuapp.com request_id=ab13c345-734c-46f1-892c-acf5913f536b fwd="152.115.83.242" dyno= connect= service= status=503 bytes= protocol=https

我不确定如何从这里继续。

任何人都可以重现此错误吗?


更新:

已解决

缺少我需要创建Procfile的事实。

0 个答案:

没有答案