$ nodemon -r esm -e yaml,js,json index | pino-pg --connectionUrl postgres://xxx:xxx@host.com:5432/easycollab --table test.logs --column log
SyntaxError: Unexpected token in JSON at position 0
at JSON.parse (<anonymous>)
at /Users/shivam/real-dev/easy-collab-api/node_modules/pino-pg/dist/src/index.js:36:100
at Generator.next (<anonymous>)
at resume (/Users/shivam/real-dev/easy-collab-api/node_modules/pino-pg/dist/src/index.js:15:44)
at fulfill (/Users/shivam/real-dev/easy-collab-api/node_modules/pino-pg/dist/src/index.js:17:31)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
I am getting this while using it with esm package