has no method 'register' error
I am getting the following error on running node app.js
H:\nodeproj\express-angular\app.js:94 app.register('.html', require('ejs')); ^ TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'register'
please help me to get it running? I am new to node.js and angular. I have completed angular tutorial which is running fine.
thanks, Krishna
What version of node and express are you using along with it?
Node version is 0.8.4 Express 3.0.0rc1
thanks, Krishna
On Mon, Aug 6, 2012 at 3:35 PM, ganarajpr < [email protected]
wrote:
What version of node and express are you using along with it?
Reply to this email directly or view it on GitHub: https://github.com/ganarajpr/express-angular/issues/1#issuecomment-7520625
replace with app.engine('html', require('ejs').renderFile); will fix this.
Project updated with latest node and express.