Skip to content

Instantly share code, notes, and snippets.

@sdwrage
Created Nov 20, 2015
Embed
What would you like to do?
at pass (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
app-0 (err): at nextRoute (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
app-0 (err): at callbacks (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
app-0 (err): at /Users/justinlonas/projects/ease-sails/node_modules/sails/lib/router/bind.js:186:7
app-0 (err): at /Users/justinlonas/projects/ease-sails/api/policies/sessionAuth.js:50:5
app-0 (err): at /Users/justinlonas/projects/ease-sails/node_modules/jsonwebtoken/index.js:101:18
app-0 (err): at process._tickDomainCallback (node.js:381:11) [TypeError: undefined is not a function]
app-0 (err): error: Sending 500 ("Server Error") response:
app-0 (err): TypeError: undefined is not a function
app-0 (err): at module.exports.create (/Users/justinlonas/projects/ease-sails/api/controllers/MultipleChoiceAttemptController.js:12:103)
app-0 (err): at routeTargetFnWrapper (/Users/justinlonas/projects/ease-sails/node_modules/sails/lib/router/bind.js:178:5)
app-0 (err): at callbacks (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:164:37)
app-0 (err): at param (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:138:11)
app-0 (err): at pass (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:145:5)
app-0 (err): at nextRoute (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:100:7)
app-0 (err): at callbacks (/Users/justinlonas/projects/ease-sails/node_modules/sails/node_modules/express/lib/router/index.js:167:11)
app-0 (err): at /Users/justinlonas/projects/ease-sails/node_modules/sails/lib/router/bind.js:186:7
app-0 (err): at /Users/justinlonas/projects/ease-sails/api/policies/sessionAuth.js:50:5
app-0 (err): at /Users/justinlonas/projects/ease-sails/node_modules/jsonwebtoken/index.js:101:18
app-0 (err): at process._tickDomainCallback (node.js:381:11) [TypeError: undefined is not a function]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment