简体   繁体   English

Heroku 应用部署成功但应用报错

[英]Heroku app deployed successfully but Application Error

I'm trying to deploy a simple python Dash app to Heroku, I can deploy the app without any issues but I keep getting an Application Error when I try and view it.我正在尝试将一个简单的 python Dash 应用程序部署到 Heroku,我可以毫无问题地部署该应用程序,但是当我尝试查看它时,我一直收到应用程序错误。 When I try to look at the logs through the CLI it can't find the app -- I have no understanding why!当我尝试通过 CLI 查看日志时,它找不到该应用程序——我不明白为什么!

I have created the requirements.txt file along with the Procfile file.我创建了 requirements.txt 文件和 Procfile 文件。

GitRepo for project: https://github.com/Karan-Ghatt/Covid-Data-Dash项目的 GitRepo: https://github.com/Karan-Ghatt/Covid-Data-Dash

I don't seem to understand why this is not working, any insight would be greatly appreciated!我似乎不明白为什么这不起作用,任何见解将不胜感激!

your question isn't exactly clear and it'll have been better if you posted the error.您的问题不是很清楚,如果您发布错误会更好。 if heroku can't detect your app as a python app then you should try setting the buildpack.如果 heroku 无法将您的应用检测为 python 应用,那么您应该尝试设置 buildpack。

heroku buildpacks:set heroku/python

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Heroku 应用程序成功部署,但打开应用程序时收到应用程序错误 - Heroku app successfully deployed, but receiving application error when opening app 我在 Heroku 上成功部署了我的 Web 应用程序,但显示应用程序错误 - I successfully deployed my web app on Heroku but shows Application Error Streamlit Python 应用程序已成功部署到 Heroku,但出现应用程序错误 - Streamlit Python app deployed successfully to Heroku, but I get an application error 成功部署 Django 到 Heroku 但收到应用程序错误 - Successfully deployed Django to Heroku but received application error Flask 应用程序部署成功 - 应用程序错误 - Flask app deployed successfully - Application Error Heroku 应用成功部署,但收到应用错误 - Heroku app successfully deploying, but receiving application error Heroku上的Django应用程序,已成功部署但无法提供服务 - Django app on Heroku, deployed successfully but could not be served Heroku 上的 OpenCV 错误,但模型成功部署 - OpenCV error on Heroku but model successfully deployed Heroku 应用成功部署,但加载站点时收到应用程序错误 - Heroku app successfully deploying, but receiving application error when loading site Heroku 应用程序成功部署,但在加载站点时收到应用程序错误 - Heroku app successfully deploying, but receiving an application error when loading site
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM