Closed geuis closed 7 years ago
I ran into the same issue using redis.createClient and it was because the args are: createClient(port, host)
https://github.com/NodeRedis/node_redis/blob/master/lib/createClient.js#L6
inverting them caused this error
Is this a catbox-redis bug then?
This is a catbox-redis issue. From the looks of it this can happen if you pass an empty or non-digit string as the port.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
Originally from https://github.com/hapijs/hapijs.com/issues/407
I encounter a stacktrace when host and port aren't used on an
options
property.In the Client subsection of http://hapijs.com/tutorials/caching, this configuration code example is given:
I am only able to get this to work with an options property:
This is the stacktrace I get when I try using host and port directly on cache: {}
This is my app.js setup:
And my package.json dependencies
One thought is that the babel es6 transpiling is doing something that catbox doesn't like.