hbs is not a function April 11, 2023April 11, 2023| 0 Comments| Baljeet SinghBaljeet Singh| 10:56 pm Categories: Nodejs use hbs.engine instead of hbs app.engine('hbs', hbs.engine({ defaultLayout: 'main', extname: '.hbs'})); Post navigation Previous Previous post: Next Next post: Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Related Posts Localhost upgraded in Nodejs 17.0 or higher till Nodejs 16 IPv6 is used, now Node.js preferred IPv4 over IPv6 when connecting to dual-stack hosts. It was possible ... Read MoreRead More check for existence of variable in an EJS template and print it ... Read MoreRead More TypeError:this.authenticate is not a function Mostly in this case we missed a pair of parenthesis on passport.session method call. app.use(passport.session()); ... Read MoreRead More