Closed AaronPorts closed 3 years ago
I don't understand why you are opening this issue in this repo. Has this anything to do with pino-tee? Can you upload a full example to reproduce?
It seems to be a stale one. I've added an ESM example in https://github.com/pinojs/pino-tee/pull/18 and it works fine.
I receive next error when I try to run code for Node from usage example:
Error: final requires a stream that has a flushSync method, such as pino.destination and pino.extreme
My code is the same, except that I use es6 import syntax: