Skip to content

Instantly share code, notes, and snippets.

@kjunichi
Created February 17, 2014 02:12
Show Gist options
  • Save kjunichi/9043552 to your computer and use it in GitHub Desktop.
Save kjunichi/9043552 to your computer and use it in GitHub Desktop.
TypeError: Cannot call method 'getProtectedResource' of undefined
at app.get.res.render.user (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/app.js:83:37)
at callbacks (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/express/lib/router/index.js:161:37)
at param (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/express/lib/router/index.js:135:11)
at pass (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/express/lib/router/index.js:142:5)
at Router._dispatch (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/express/lib/router/index.js:170:5)
at Object.router (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/express/lib/router/index.js:33:10)
at Context.next (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/express/node_modules/connect/lib/proto.js:190:15)
at Context.actions.pass (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/passport/lib/passport/context/http/actions.js:77:8)
at /var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/passport/lib/passport/strategies/session.js:49:12
at pass (/var/lib/stickshift/52c6cfcb4382eca1e20002b6/app-root/data/431589/node_modules/passport/lib/passport/index.js:307:31)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment