-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Error: Promise.promisify called on an object
Artem Zatsarynnyy edited this page Mar 27, 2015
·
2 revisions
Error: Promise.promisify for promisifying entire objects is deprecated. Use Promise.promisifyAll instead.
You got this error because you've used Promise.promisify on an object, for example:
var fs = Promise.promisify(require("fs"));Instead, use Promise.promisifyAll :
var fs = Promise.promisifyAll(require("fs"));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