pino
pino copied to clipboard
Symbols is undefined in Cloudflare Workers
Hi, I encountered an error in Cloudflare Workers. After looking into it, I found that it was caused by pino.symbols always being undefined.
import pino from "pino"
export default {
async fetch(request, env, ctx): Promise<Response> {
console.log("pino.symbols", pino.symbols) // got undefined
return new Response("Hello World!")
},
} satisfies ExportedHandler
Please provide a reproduction in JavaScript.
Please provide a reproduction in JavaScript.
Do you mean that I should not use TypeScript?
I mean that I want to see the issue exhibited in JavaScript.
We do not official support cloudflare workers. If things are missing/problematic, you should be reporting to them,