Open dylanh724 opened 7 years ago
I had the same error initially, it seems to be due to the error handler function in app.js:
res.render('error', { message: err.message, error: {} });
Since there is no view registered, it cannot render it. I just changed anywhere that has res.render
to:
res.send('error');
What do I specify as the default view engine? Apparently it HAS to have one, even though I deleted the views folder and removed references (I at least think I removed the ref's -- I'll check more thoroughly after this post).