title: How start app in express js (nodejs)? TypeError:app.set is not a function
body: <p>How start app in express js (nodejs)? TypeError:app.set is not a function.
  Console.log screen</p>
  
  <p><a href="https://i.stack.imgur.com/YV0U9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YV0U9.png" alt="screen"></a></p>
  
  <pre><code>var express = require('express');
  var app = express();
  
  app.get('/', function (req, res) {
  res.send('Hello World!');
  });
  
  var server = app.listen(3000, function () {
  var host = server.address().address;
  var port = server.address().port;
  });
  </code></pre>