-
Notifications
You must be signed in to change notification settings - Fork 385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug into redis example #66
Comments
Redis example is also missing |
and then ? trash everything ? |
Try using const redis = require("redis");
const bluebird = require("bluebird");
bluebird.promisifyAll(redis.RedisClient.prototype);
const db = redis.createClient(); instead. I had the same error, and this fixed it. |
I had a lot of issues with the Redis example. I've now implemented a fully working example of Redis, and am planning on issuing a pull request to update the example this week. |
Have you update the redis example? I still got missing client
|
TypeError: expecting a function but got [object Object]
on
var db = require('bluebird').promisify(require('redis').createClient());
The text was updated successfully, but these errors were encountered: