We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Error: the target of promisifyAll must be an object or a function
promisifyAll
This can happen when you are calling .promisifyAll on a function and invoking it instead of passing it.
.promisifyAll
In general, the usage of .promisifyAll is along the lines of var fs = Promise.promisifyAll(require("fs")).
var fs = Promise.promisifyAll(require("fs"))
Consider reading the section about promisification in the API