Want more features on Pastebin? Sign Up, it's FREE!
Guest

CompoundJS error when deploying to Heroku

By: a guest on Dec 27th, 2012  |  syntax: None  |  size: 1.14 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Express
  2. 500 TypeError: /app/app/views/posts/new.ejs:3 1| <ul class="breadcrumb"> 2| <li><a href="/">Home</a> <span class="divider">/</span></li> >> 3| <li><a href="<%- pathTo.posts %>">posts</a> <span class="divider">/</span></li> 4| <li class="active"><a href="#">New post</a></li> 5| </ul> 6| Object #<Compound> has no method 'T'
  3. 1|
  4. 2|
  5. Home /
  6. >> 3|
  7. posts /
  8. 4|
  9. New post
  10. 5|
  11. 6|
  12. Object # has no method 'T'
  13. at Controller.t (/app/node_modules/compound/lib/controller-extensions.js:192:33)
  14. at Object.HelperSet.fieldsFor.blockHelper.label (/app/node_modules/compound/lib/helpers.js:472:44)
  15. at buf.push.__stack.lineno (eval at (/app/node_modules/ejs/lib/ejs.js:234:12))
  16. at eval (eval at (/app/node_modules/ejs/lib/ejs.js:234:12))
  17. at exports.compile (/app/node_modules/ejs/lib/ejs.js:239:15)
  18. at Object.exports.render (/app/node_modules/ejs/lib/ejs.js:277:13)
  19. at View.exports.renderFile [as engine] (/app/node_modules/ejs/lib/ejs.js:303:22)
  20. at View.render (/app/node_modules/express/lib/view.js:75:8)
  21. at Function.app.render (/app/node_modules/express/lib/application.js:500:10)
  22. at ServerResponse.res.render (/app/node_modules/express/lib/response.js:717:7)
clone this paste RAW Paste Data