Node.js 从Heroku运行应用程序时出错

Node.js 从Heroku运行应用程序时出错,node.js,heroku,Node.js,Heroku,我在部署到Heroku后尝试运行应用程序时遇到以下错误。由于部署成功,我无法确定错误是什么 2017-08-08T19:58:15.400596+00:00 app[web.1]: npm ERR! node ./bin/www 2017-08-08T19:58:15.400766+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project wit

我在部署到Heroku后尝试运行应用程序时遇到以下错误。由于部署成功,我无法确定错误是什么

    2017-08-08T19:58:15.400596+00:00 app[web.1]: npm ERR!     node ./bin/www

    2017-08-08T19:58:15.400766+00:00 app[web.1]: npm ERR! You can get information on how to open an issue for this project with:
    2017-08-08T19:58:15.400935+00:00 app[web.1]: npm ERR!     npm bugs watchhours
    2017-08-08T19:58:15.401099+00:00 app[web.1]: npm ERR! Or if that isn't available, you can get their info via:
    2017-08-08T19:58:15.401267+00:00 app[web.1]: npm ERR!     npm owner ls watchhours
    2017-08-08T19:58:15.401434+00:00 app[web.1]: npm ERR! There is likely additional logging output above.
    2017-08-08T19:58:15.407305+00:00 app[web.1]: 
    2017-08-08T19:58:15.407919+00:00 app[web.1]: npm ERR! Please include the following file with any support request:
    2017-08-08T19:58:15.408104+00:00 app[web.1]: npm ERR!     /app/npm-debug.log
    2017-08-08T19:58:15.497534+00:00 heroku[web.1]: State changed from starting to crashed
    2017-08-08T19:58:15.483131+00:00 heroku[web.1]: Process exited with status 1
    2017-08-08T19:58:28.070249+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=watch-hours.herokuapp.com request_id=08648f85-8ff8-4496-a1d0-4a59b656394b fwd="117.214.91.103" dyno= connect= service= status=503 bytes= protocol=https
    2017-08-08T19:58:28.710982+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=watch-hours.herokuapp.com request_id=348cafa0-abb3-411f-a460-fdc52165e94f fwd="117.214.91.103" dyno= connect= service= status=503 bytes= protocol=https

如果您登录到heroku,您可以看到项目的日志。。。你的错误很可能就在那里:

你能给我们看一些代码吗?你可以在这里找到我的回购协议:嘿,我发现了错误并进行了更正。但是现在我得到------at=info method=get path=/host=watch-hours.herokuapp.com request_id=e19afb5b-43c4-4bdc-a05b-cf47a32bc6e7 fwd=117.214.91.103 dyno=web.1 connect=0ms service=22ms status=302 bytes=352 protocol=https------没有错误代码。