mmkal / handy-redis

A wrapper around node_redis with Promise and TypeScript support.
Apache License 2.0
172 stars 10 forks source link

.lpos is not a function #258

Closed imranaalam closed 3 years ago

imranaalam commented 3 years ago

i am trying this in express/ nodejs using handyredis.addNodeRedisCommand('lpos')
handyredis.createNodeRedisClient(Redisclient)
console.log('handy redis connected HANDY REDIS HANDY REDIS HANDY REDIS HANDY REDISH HANDY REDIS HANDY REDIS HANDY REDIS')

on calling lpos with handyredis client it says .lpos is not a function

mmkal commented 3 years ago

I'm not able to repro this. Could you share a full code reproduction along with:

Note that lpos is included in the latest redis-commands package, so you may be able to solve this problem just by updating the redis dependency (npm install redis@latest)

mmkal commented 3 years ago

@imranaalam closing since there's not much more I can do here without the above info. Let me know if you are still seeing an issue.