express-hogan.js icon indicating copy to clipboard operation
express-hogan.js copied to clipboard

error on preparePartials function with express 3

Open fmundaca opened this issue 13 years ago • 1 comments

Hi, i've an issue with preparePartials

PROJECT_PATH/node_modules/express/lib/application.js:506 fn(err); ^ TypeError: object is not a function at Function.app.render (PROJECT_PATH/pushserver/node_modules/express/lib/application.js:506:5) at ServerResponse.res.render (PROJECT_PATH/DEV/pushserver/node_modules/express/lib/response.js:601:7) at exports.index (PROJECT_PATH/pushserver/routes/dashboard.js:40:25) at _.after (PROJECT_PATH/pushserver/node_modules/express-hogan.js/node_modules/underscore/underscore.js:609:38) at expressHogan.preparePartials (PROJECT_PATH/DEV/pushserver/node_modules/express-hogan.js/lib/express-hogan.js:47:12) at fs.readFile (fs.js:176:14) at Object.oncomplete (fs.js:297:15)

my apps crash and no partials is loade... actually nothing is loaded :P

i need some help please :(

fmundaca avatar Jul 20 '12 19:07 fmundaca

Hi, do you have your code publicly accessible somewhere? Or can you send it to me via email?

dundee avatar Jul 29 '12 16:07 dundee