Closed wako057 closed 1 year ago
Thanks @wako057 for noticing this error. You're right, if you look into hapi tests suite you can see that they use CatboxMemory.Engine
: https://github.com/hapijs/hapi/blob/master/test/server.js#L146.
Do you want to open a PR to fix the documentation?
fixed with the proper require
sorry for the noise
const { Engine: CatboxRedis } = require('@hapi/catbox-redis');
It is correct on the repository but not on the website, it probably need to be re-generated
Context
What are you trying to achieve or the steps to reproduce ?
I'm trying to configure the catbox-redis at the server level, according the documentation
is not working, I'm meeting this error:
Fixup for the constructor to
CatboxRedis.Engine
Thanks Stack Overflow user for the help