Issue with Pino's transport on Windows using Deno 2 and TypeScript - no output is written to the log file #26150
Closed
cvermeer579
started this conversation in
General
Replies: 1 comment
-
This is a bug in Deno. Converted this discussion to an issue here #26154 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I raised the problem with Pino, but they replied: "Thank you for the report. This project targets the Node.js runtime. Please file issues with the runtime if you are not using Node.js".
I’m using Deno 2 with TypeScript on Windows, and I've encountered an issue when trying to log with Pino using a transport.
The following code works perfectly and logs to the debug console as expected:
However, when I introduce the transport to log to a file, no output appears, and the log file is not created:
No errors are thrown, but the expected log file doesn't appear, and no logging is written.
I am running Deno with the --allow-write flag, and Deno’s internal logger is correctly logging output. Is there any known issue with using Pino's transport functionality on Deno or Windows, or is there something specific I might be missing in my configuration?
Warm regards
Corrie
Beta Was this translation helpful? Give feedback.
All reactions