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
I have a lua script that was calling zmpop (which is, at the time of writing, unsupported).
Calling this script results in this error: Error trying to loading or executing lua code string in VM: null
I traced the error down, and found that:
TypeError: Cannot read properties of undefined (reading 'bind')
at _RedisMock.<anonymous> (node_modules/ioredis-mock/src/commands/defineCommand.js:58:19)
at Object.luaD_precall (/node_modules/fengari/src/ldo.js:169:21)
[very long stack trace omitted...]
The interesting line here is (src/commands/defineCommand.js:52):
const redisCmd = commands[name].bind(this)
The text was updated successfully, but these errors were encountered:
hertzquake
changed the title
Calling an unsupported method in a lua script results in an unclear error
Calling an unsupported command in a lua script results in an unclear error
Nov 25, 2023
I have a lua script that was calling
zmpop
(which is, at the time of writing, unsupported).Calling this script results in this error:
Error trying to loading or executing lua code string in VM: null
I traced the error down, and found that:
The interesting line here is (
src/commands/defineCommand.js:52
):The text was updated successfully, but these errors were encountered: