Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

500 error failing to find view template #115

Open
bdefore opened this Issue · 0 comments

1 participant

@bdefore

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.