I get the following error when trying to start a node server. It looks like it is related to combohandler that was installed using node package manager (npm).
Can anyone help please?
TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'error'
at /Repository/combo/node_modules/combohandler/lib/server.js:23:9
at Object.<anonymous> (/Repository/combo/server.js:8:7)
at Module._compile (module.js:446:26)
at Object..js (module.js:464:10)
at Module.load (module.js:353:31)
at Function._load (module.js:311:12)
at Array.0 (module.js:484:10)
at EventEmitter._tickCallback (node.js:190:38)
Below you can see the version of express I am using:
Brendans-MacBook-Pro:combo brendan_rice$ npm view express version
npm WARN [email protected] package.json: 'modules' object is deprecated
npm WARN [email protected] package.json: 'modules' object is deprecated
npm WARN [email protected] package.json: 'modules' object is deprecated
npm WARN [email protected] package.json: 'modules' object is deprecated
3.0.0rc1