You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Receiver must be an instance of class RedisCluster
2025-05-20T12:26:35.981+03:00 at Object.get (/home/node/node_modules/.pnpm/@[email protected]/node_modules/@redis/client/dist/lib/cluster/index.js:29:31)
The text was updated successfully, but these errors were encountered:
Private class fields (e.g., #execute) cause runtime errors when accessed from contexts where `this` is not the exact instance, triggering “Receiver must be an instance of class RedisCluster”.
fixesredis#2967
Private class fields (e.g., #execute) cause runtime errors when accessed from contexts where `this` is not the exact instance, triggering “Receiver must be an instance of class RedisCluster”.
fixes#2967
Description
When using RedisJSON commands, getting error: "Receiver must be an instance of class RedisCluster". Simple operations like get or set work fine.
RedisJSON module is enabled on my Redis cluster. Commands work fine on Go services using go-redis.
Redis is instantied as such:
Node.js Version
20
Redis Server Version
7.4.2
Node Redis Version
5.0.1
Platform
Linux and macOS
Logs
The text was updated successfully, but these errors were encountered: