ViewsDir is set on app.js, both the macro and the blueprint work great on development mode but it production I get a 500 error for the macro /render.
var viewsDir = __dirname + ‘/views’;
I also verified I have the route and is a GET … it works on dev, but not on prod.
Error: Failed to lookup view "an error has occurred " in views directory “/var/app/current/views”
If I go to the /var/app/current/views the render.hbs is there.
I’m deploying my app on AWS ELB and only the macro 404s. The blueprint doesn’t.
Any ideas or tips?