How to use pino-pretty on frontend

560 Views Asked by At

I am testing pino for a frontend application (VueJs). I would like to use pino-pretty to format the log in console. However, when I import pino-pretty it gives errors:

SyntaxError: Identifier 'process' has already been declared
0

There are 0 best solutions below