I have also set the views variable in the app: app.set('views', __dirname + '/views');