title: Deploying MEAN App to Heroku Gives H10 Error & 503 Status
body: <p>I'm learning the MEAN stack and trying to understand how Heroku works at the same time. Using <a href="https://thinkster.io/mean-stack-tutorial/" rel="nofollow">this</a> tutorial I put together a working application that runs on my machine.</p>
  
  <p>When I try to follow <a href="https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction" rel="nofollow">this</a> tutorial and <a href="https://devcenter.heroku.com/articles/deploying-nodejs" rel="nofollow">this</a> tutorial from heroku everything runs fine until I try to <code>heroku open</code>. </p>
  
  <p>On herokuapp.com the page reads</p>
  
  <pre><code>Application Error
  An error occurred in the application and your page could not be served. Please try again in a few moments.
  
  If you are the application owner, check your logs for details.
  </code></pre>
  
  <p>A <code>heroku logs --tail</code> reads </p>
  
  <p><code>2015-08-14T19:31:20.459454+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=shrouded-coast-5761.herokuapp.com request_id=e09a152f-9b52-4433-be2d-5c5a40150da7 fwd="166.170.43.70" dyno= connect= service= status=503 bytes=</code></p>
  
  <p>The repo is found <a href="https://github.com/gh0st/flapper-news" rel="nofollow">here</a>.</p>
  
  <p>When I <code>heroku local web</code> the app runs fine.</p>