pino logging + nextjs app directory
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
does anyone have any guidance on how to use a logging library like pino with nextjs app directory? i get an error like this when i try to bundle the application with pino being used:
Error: Cannot find module '/Users/workspace/.next/server/chunks/lib/worker.js'2 Replies
@Barbary Lion does anyone have any guidance on how to use a logging library like pino with nextjs app directory? i get an error like this when i try to bundle the application with pino being used:
Error: Cannot find module '/Users/workspace/.next/server/chunks/lib/worker.js'
Pino should just work honestly. Nothing really extra needed
Barbary LionOP
oh you know what, i was able to narrow down the issue to the specific transport setup i was using.