Skip to content

Instantly share code, notes, and snippets.

@dileephell
Created February 8, 2013 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dileephell/4737165 to your computer and use it in GitHub Desktop.
Save dileephell/4737165 to your computer and use it in GitHub Desktop.
Error: .get() requires callback functions but got a [object Undefined]
at Router.route.Route.sensitive (/home/dileep/node_modules/express/lib/router/index.js:252:11)
at Array.forEach (native)
at Router.route (/home/dileep/node_modules/express/lib/router/index.js:248:13)
at Router.methods.forEach.Router.(anonymous function) [as get] (/home/dileep/node_modules/express/lib/router/index.js:270:16)
at Function.methods.forEach.app.(anonymous function) [as get] (/home/dileep/node_modules/express/lib/application.js:412:26)
at Object.<anonymous> (/home/dileep/workspace/erp/app.js:25:5)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment