title: Unexpected error using Node.js's Express with vhosts
body: <p>Here's the error:</p>
  
  <p><img src="https://i.stack.imgur.com/svx5S.png" alt="enter image description here"></p>
  
  <p>Here's the code:</p>
  
  <p><code>runapps.js:</code></p>
  
  <pre><code>var express = require('express');
  
  var app = express();
  var first  = require('./apps/ghost_gforce/index.js').app;
  var second = require('./apps/ghost_blog2/index.js').app;
  
  app
  .use(express.vhost('gforce/main', first))
  .use(express.vhost('gforce/blog2', second))
  .listen(80);
  </code></pre>
  
  <p>running this straight from node like below works perfectly:</p>
  
  <pre><code>node apps\ghost_gforce\index.js
  </code></pre>
  
  <p>UPDATE:: ran:</p>
  
  <pre><code>npm install 
  </code></pre>
  
  <p>within the node app directory, so nothing should be missing.</p>
  
  <p>Thanks in advance!</p>