title: unable to deploy a yeoman angular.js app to heroku
body: <p>I am following this tutorial:</p>
  
  <p><a href="http://davemax.com/heroku-deploy-yeoman-angular-app/" rel="nofollow noreferrer">http://davemax.com/heroku-deploy-yeoman-angular-app/</a></p>
  
  <p>Steps:</p>
  
  <p>1) $ grunt build --force
  2) $ grunt serve dist </p>
  
  <p>app seems to build fine</p>
  
  <p>I then created a procfile with the following content:</p>
  
  <pre><code>web: node server/app.js
  </code></pre>
  
  <p>then copied and pasted package.json from route directory to dist, adding the following:</p>
  
  <pre><code> "scripts": {
      "start": "node server/app.js",
      "test": "grunt test",
      "update-webdriver": "node node_modules/grunt-protractor-runner/node_modules/protractor/bin/webdriver-manager update"
    },
  </code></pre>
  
  <p>then to check the app locally I do this:</p>
  
  <p>$ foreman start web</p>
  
  <p>I am faced with the error:</p>
  
  <pre><code>20:15:08 web.1  | started with pid 57020
  20:15:08 web.1  | module.js:338
  20:15:08 web.1  |     throw err;
  20:15:08 web.1  |           ^
  20:15:08 web.1  | Error: Cannot find module '/Users/xxx/Desktop/webapp/dist/server/app.js'
  20:15:08 web.1  |     at Function.Module._resolveFilename (module.js:336:15)
  20:15:08 web.1  |     at Function.Module._load (module.js:278:25)
  20:15:08 web.1  |     at Function.Module.runMain (module.js:501:10)
  20:15:08 web.1  |     at startup (node.js:129:16)
  20:15:08 web.1  |     at node.js:814:3
  20:15:08 web.1  | exited with code 1
  20:15:08 system | sending SIGTERM to all processes
  </code></pre>
  
  <p>My folder looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/gjJYx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gjJYx.png" alt="enter image description here"></a></p>
  
  <p>It seems as though there are files missing. I have removed /dist from .gitignore.</p>