title: Node.js: Simple app not working on Heroku
body: <p>I've written a basic node.js application and I've managed to deploy it on Heroku without having any problem. I've created my <b>package.json</b> and <b>Procfile</b>, however from logs I see that there is no running processes, thus cannot get any response. What could be the problem?</p>
  
  <p><b>PS: </b> I do not want to use the <b>Express</b> framework</p>
  
  <p><b>My Code: </b></p>
  
  <pre><code>var http = require("http");
  
  http.createServer(function(request, response) {
    response.writeHead(200, {"Content-Type": "text/plain"});
    response.write("Hello World");
    response.end();
  
    console.log("I am working");
  }).listen(8888);
  </code></pre>
  
  <p><b>My package.json: </b></p>
  
  <pre><code>{
    "name": "node-example",
    "version": "0.0.1",
    "dependencies": {
    },
    "engines": {
      "node": "0.8.x",
      "npm": "1.1.x"
    }
  }
  </code></pre>
  
  <p><b>Logs: </b></p>
  
  <pre><code>2012-10-22T12:36:58+00:00 heroku[slugc]: Slug compilation started
  2012-10-22T12:37:07+00:00 heroku[slugc]: Slug compilation finished
  2012-10-22T12:40:55+00:00 heroku[router]: Error H14 (No web processes running) -&gt; GET aqueous-bastion-6914.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
  2012-10-22T12:50:44+00:00 heroku[router]: Error H14 (No web processes running) -&gt; GET aqueous-bastion-6914.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
  </code></pre>