title: hbs is not define in node.js?
body: <p>I have install handlebars for template handling in node.js app and set the engine to hbs but during runtime it says that <strong>ReferenceError: hbs is not defined</strong>.</p>
  
  <pre><code>const express = require('express');
  const app = express();
  const PORT = 8080;
  const HOST = '0.0.0.0';
  app.engine('handlebars', hbs.engine);
  app.set('view engine', 'handlebars');
  
  
  app.get('/home',(req,res)=&gt;{
  res.render('home');
  });
  
  app.listen(PORT, HOST);
  console.log(`Running on http://${HOST}:${PORT}`);
  </code></pre>
  
  <p>How to resolve this problem ?</p>