Skip to content

Instantly share code, notes, and snippets.

@zenithtekla
Last active August 11, 2016 20:57
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 zenithtekla/74b6e9bdb03deb03d6b90bd2918facaa to your computer and use it in GitHub Desktop.
Save zenithtekla/74b6e9bdb03deb03d6b90bd2918facaa to your computer and use it in GitHub Desktop.
Yo-seanjs
Warning: a promise was created in a handler but was not returned from it
at Model.findAll (C:\Users\PhucTran\seanjs\node_modules\sequelize\lib\model.js:1347:18)
at Model.findOne (C:\Users\PhucTran\seanjs\node_modules\sequelize\lib\model.js:1519:34)
at exports.userByID (C:\Users\PhucTran\seanjs\modules\users\server\controllers\users\user.authorization.server.controller.js:20:8)
at paramCallback (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:404:7)
at null.<anonymous> (C:\Users\PhucTran\seanjs\modules\users\server\controllers\admin.server.controller.js:140:7)
at processImmediate [as _immediateCallback] (timers.js:383:17)
From previous event:
at Promise.then (C:\Users\PhucTran\seanjs\node_modules\sequelize\lib\promise.js:21:17)
at exports.userByID (C:\Users\PhucTran\seanjs\modules\users\server\controllers\admin.server.controller.js:121:21)
at paramCallback (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:404:7)
at param (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:384:5)
at Function.process_params (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:410:3)
at next (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:271:10)
at serveStatic (C:\Users\PhucTran\seanjs\node_modules\serve-static\index.js:75:16)
at Layer.handle [as handle_request] (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:312:13)
at C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:280:7
at Function.process_params (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:330:12)
at next (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:271:10)
at hsts (C:\Users\PhucTran\seanjs\node_modules\hsts\index.js:56:5)
at Layer.handle [as handle_request] (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:312:13)
at C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:280:7
at Function.process_params (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:330:12)
at next (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:271:10)
at ienoopen (C:\Users\PhucTran\seanjs\node_modules\ienoopen\index.js:4:5)
at Layer.handle [as handle_request] (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:312:13)
at C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:280:7
at Function.process_params (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:330:12)
at next (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:271:10)
at nosniff (C:\Users\PhucTran\seanjs\node_modules\dont-sniff-mimetype\index.js:4:5)
at Layer.handle [as handle_request] (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:312:13)
at C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:280:7
at Function.process_params (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:330:12)
at next (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\index.js:271:10)
at xXssProtection (C:\Users\PhucTran\seanjs\node_modules\x-xss-protection\index.js:19:7)
Warning: a promise was created in a handler but was not returned from it
at Instance.save (C:\Users\PhucTran\seanjs\node_modules\sequelize\lib\instance.js:567:18)
at null.<anonymous> (C:\Users\PhucTran\seanjs\modules\users\server\controllers\admin.server.controller.js:39:12)
From previous event:
at Promise.then (C:\Users\PhucTran\seanjs\node_modules\sequelize\lib\promise.js:21:17)
at exports.update (C:\Users\PhucTran\seanjs\modules\users\server\controllers\admin.server.controller.js:28:6)
at Layer.handle [as handle_request] (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\PhucTran\seanjs\node_modules\express\lib\router\route.js:131:13)
at C:\Users\PhucTran\seanjs\modules\users\server\policies\admin.server.policy.js:61:16
at tryCatcher (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\util.js:26:23)
at Promise.successAdapter (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\nodeify.js:23:30)
at Promise._settlePromiseAt (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\promise.js:579:21)
at Promise._settlePromises (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\promise.js:697:14)
at Async._drainQueue (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\async.js:123:16)
at Async._drainQueues (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\async.js:133:10)
at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\PhucTran\seanjs\node_modules\bluebird\js\main\async.js:15:14)
at processImmediate [as _immediateCallback] (timers.js:383:17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment