Heroku不断给我错误的“未指定应用程序模块”。

发布于 2025-02-11 05:48:31 字数 559 浏览 1 评论 0原文

我正在尝试将我的应用程序从replip转移到python。

这是发送和接收消息的基本Websocket服务器。

由于这个错误,我无法开始生产。

我无法使用Gunicorn命令,因为我使用Windows。

有什么办法可以解决此错误?

2022-06-28T04:22:41.713490+00:00 heroku[web.1]: Starting process with command `gunicorn`
2022-06-28T04:22:42.620149+00:00 app[web.1]: 
2022-06-28T04:22:42.620163+00:00 app[web.1]: Error: No application module specified.
2022-06-28T04:22:42.760060+00:00 heroku[web.1]: Process exited with status 1
2022-06-28T04:22:42.802988+00:00 heroku[web.1]: State changed from starting to crashed

I'm trying to move my app from replit to python.

It's a basic websocket server that sends and recieves messages.

I can't start production because of this error.

I can't use the gunicorn command because I use Windows.

Is there any way I can fix this error?

2022-06-28T04:22:41.713490+00:00 heroku[web.1]: Starting process with command `gunicorn`
2022-06-28T04:22:42.620149+00:00 app[web.1]: 
2022-06-28T04:22:42.620163+00:00 app[web.1]: Error: No application module specified.
2022-06-28T04:22:42.760060+00:00 heroku[web.1]: Process exited with status 1
2022-06-28T04:22:42.802988+00:00 heroku[web.1]: State changed from starting to crashed

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文