'TypeError: Cannot read property 'prototype' of undefined' Redis connections

Viewed 1120

I am trying to connect to a Redis Azure instance and I'm following the tutorial here Link. However I keep receiving this error

"TypeError: Cannot read property 'prototype' of undefined"

on this line

bluebird.promisifyAll(redis.RedisClient.prototype);

I am using nodeJS on VSCode. I have npm installed redis and bluebird. Any help would be appreciated, thank you!

0 Answers
Related