I am trying to use handlerbars using expressjs to load dynamic content but I encounter this error
Error: ENOENT: no such file or directory, open '/home/aman/Documents/Coding/nodejs/expressjs2/views/layouts/main.handlebars'``` This is what I am doing ```app.engine("hbs", expressHbs());
This is what I added in my app.js main file
app.set("view engine", "hbs"); //Using handlebar engine to load dynamic content
app.set("views", "views"); // By default location is views but you can change it to template```