I don't know why it gives this error. I have also set view engine to hbs using app.set(), also defined path of views (path is correct, no error there). But it still says cannot find module hbs (it is already installed) when I try to render.
You can see that I am using get() request to render() the index.hbs file inside Views folder. Why is it showing this error?

....It's somewhat silly of me, but it was because of another
node_modulesoutside the project directoryExpressProject. You can see that there is anothernode_modules(in the bottom) outsideExpressProject. But what I don't get here now, is that why is the outernode_moduleaffectingExpressProjectdirectory?It has it's own
node_modules, and I am also running the server fromExpressProjectdirectory, not from outside of it.