Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbols is undefined in Cloudflare Workers #2079

Open
maou-shonen opened this issue Nov 7, 2024 · 4 comments
Open

Symbols is undefined in Cloudflare Workers #2079

maou-shonen opened this issue Nov 7, 2024 · 4 comments

Comments

@maou-shonen
Copy link

maou-shonen commented Nov 7, 2024

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

minimal reproduction

@jsumners
Copy link
Member

jsumners commented Nov 7, 2024

Please provide a reproduction in JavaScript.

@maou-shonen
Copy link
Author

Please provide a reproduction in JavaScript.

Do you mean that I should not use TypeScript?

@jsumners
Copy link
Member

jsumners commented Nov 7, 2024

I mean that I want to see the issue exhibited in JavaScript.

@mcollina
Copy link
Member

mcollina commented Nov 8, 2024

We do not official support cloudflare workers. If things are missing/problematic, you should be reporting to them,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants