title: Render basic HTML view?
body: <p>I have a basic Node.js app that I am trying to get off the ground using the Express framework. I have a <code>views</code> folder where I have an <code>index.html</code> file. But I receive the following error when loading the web page:</p>
  <pre><code>Error: Cannot find module 'html'
  </code></pre>
  <p>Below is my code.</p>
  <pre><code>var express = require('express');
  var app = express.createServer();
  
  app.use(express.staticProvider(__dirname + '/public'));
  
  app.get('/', function(req, res) {
      res.render('index.html');
  });
  
  app.listen(8080, '127.0.0.1')
  </code></pre>
  <p>What am I missing here?</p>