mauricemach/zappa — Issue #115: 500 error failing to find view template
Author: bdefore
Created: 2011-12-18 22:22:20+00:00
State: open

Trying to migrate a project to zappa and getting this error, where it can't seem to find my Jade templates. The path it specifies points to where a file currently exists. Tried this also with an ejs project with the same results.

500 Error: failed to locate view "/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/src/views/jade/bill/index.jade"
at Function.compile (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/express/lib/view.js:58:15)
at ServerResponse._render (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/express/lib/view.js:414:18)
at ServerResponse.render (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/express/lib/view.js:315:17)
at /Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/src/app.coffee:81:22
at Promise. (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/src/controllers/bill.js:17:10)
at Promise. (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/mongoose/lib/promise.js:120:8)
at Promise. (events.js:67:17)
at Promise.emit (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/mongoose/lib/promise.js:59:38)
at Promise.complete (/Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/mongoose/lib/promise.js:70:20)
at /Users/bdefore/Sync/Code/Sandbox/Node/cashtracker/node_modules/mongoose/lib/query.js:738:28