Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 error failing to find view template #115

Open
bdefore opened this issue Dec 18, 2011 · 0 comments
Open

500 error failing to find view template #115

bdefore opened this issue Dec 18, 2011 · 0 comments

Comments

@bdefore
Copy link

bdefore commented Dec 18, 2011

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant