codebird-js icon indicating copy to clipboard operation
codebird-js copied to clipboard

Promises not working

Open shaheryar1 opened this issue 6 years ago • 1 comments

TypeError: cb.__call(...).then is not a function at router.get (C:\Users\EG\Desktop\NodeJs_appitry-social-node\Twitter\TwitterRoutes.js:73:71) at Layer.handle [as handle_request] (C:\Users\EG\Desktop\NodeJs_appitry-social-node\node_modules\express\lib\router\layer.js:95:5) at next (C:\Users\EG\Desktop\NodeJs_appitry-social-node\node_modules\express\lib\router\route.js:137:13)

shaheryar1 avatar Jan 26 '19 14:01 shaheryar1

@shaheryar1 Please note that Codebird itself does not include nor provide any Promises library. Can you ensure to have loaded one of the supported libraries?

  • jQuery Deferred
  • Q
  • RSVP
  • when

You can find more info here.

mynetx avatar Jan 26 '19 16:01 mynetx