Skip to content

Common issues & solutions Node

Aakash Goplani edited this page Feb 13, 2020 · 1 revision

It's the way you structured your app. If you're starting the server from outside of the folder then you need to provide an absolute path to the views folder:

app.set('views', path.join(__dirname, 'views'))

Clone this wiki locally