Calling middleware next() results in type error #4010
Unanswered
raisonjoseph
asked this question in
General
Replies: 1 comment
-
Hi! I was not able to reproduce. The stack trace suggests you have a Redis operation ( redisClient.set("mykey", "myvalue", () => { /* ... */ }); Reference: https://github.com/NodeRedis/node-redis Could you please check? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using node
redis
andsocket.io
in the same project the middlewares for socket.io whenever callingnext()
without argument results in redis type error. I have tried out different version of redis and the issue starts after redisv2.8.0
There is no issue when throwing and error inside the next fucntion
the code
To recreate simply install socket.io and redis under same node server.
Beta Was this translation helpful? Give feedback.
All reactions