Closed Boelensman1 closed 6 months ago
There is probably a bug somewhere in this module. I see it depends on pino-pretty and it probably shouldn't.
Unfortunately I have no time to dig deep, so a PR fixing it would be appreciated.
@Boelensman1 I don't have this issue on a brand new hapi 20.2.0
and hapi-pino 8.5.0
.
I see you posted pino-pretty version of 7.0.1
. You don't need to install it separately, it's part of hapi-pino
(though pinned to pino-pretty ^4.0.0
)
Just npm install @hapi/hapi hapi-pino
and you're good to go.
When running hapi-pino with prettyPrint enabled, I get the following error:
Configuration of the plugin is as follows:
Running:
Not sure if this is a bug in hapi-pino or pino-pretty, so if it is in fact a bug in pino-pretty you can close this issue!