-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Error: the target of promisifyAll must be an object or a function
benjamingr edited this page Feb 6, 2014
·
1 revision
Error: the target of promisifyAll must be an object or a function
This can happen when you are calling .promisifyAll on a function and invoking it instead of passing it.
In general, the usage of .promisifyAll is along the lines of var fs = Promise.promisifyAll(require("fs")).
Consider reading the section about promisification in the API
What sorcery is this?!
so just dont wwrite cryptic ancient js that nobody knows because turbo doesnt know eitherhttps://github.com/petkaantonov/bluebird.wiki.git
lol ancient Q JS circa 2012 being called up randoml to make a circular logic loom promise that, surprisingly, does not reject itself when it calls itself!
- Dr Q, the other ancient Q https//github.com/drqedwards/ppm