简体   繁体   English

在 heroku 上部署时出现应用程序错误

[英]Application error while deploying on heroku

I'm following django for beginners by william vincent and i followed every step carefully and in the end while deploying my pages app on heroku, i see this application error.我正在关注 William vincent 为初学者准备的 django,我仔细地遵循了每一步,最后在 heroku 上部署我的页面应用程序时,我看到了这个应用程序错误。 Please guide me, I'm a beginner in programming.请指导我,我是编程的初学者。

here in the image you can see application error在图像中您可以看到应用程序错误

[![here in the image you can see application error][1]][1] [![在图像中您可以看到应用程序错误][1]][1]

1]: https://i.stack.imgur.com/6VBoX.jpg!This is log showing on heroku...I have installed django and it's showing module not found]( https://i.stack.imgur.com/asIUk.jpg ) 1]: https://i.stack.imgur.com/6VBoX.jpg!This is log showing on heroku...I have installed django and it's showing module not found]( https://i.stack.imgur. com/asIUk.jpg )

"Application Error" or similar is always caused by your own application code. “应用程序错误”或类似情况总是由您自己的应用程序代码引起的。 Routing errors will normally only surface themselves within the logs of your application.路由错误通常只会在应用程序的日志中出现。 To track this kind of issue down you should look at your logs:要跟踪此类问题,您应该查看您的日志:

$ heroku logs --tail --app your_app_name

or log in to your heroku dashboard and click on your app and at the top right corner click on More option and than click on View logs and check the logs that will help you to figure your mistake或登录您的 heroku 仪表板并单击您的app ,然后在右上角单击More选项,然后单击View logs并检查有助于您找出错误的日志演示图片

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

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