Closed imranaalam closed 3 years ago
I'm not able to repro this. Could you share a full code reproduction along with:
redis
you have installedhandy-redis
you have installedredis-commands
is in your lockfileRedisclient
above - it's a good idea to call addNodeRedisCommand
as early as possibleNote 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
)
@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.
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