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

Plugin seems to not work when aot is set to false #11

Open
ghost opened this issue Oct 1, 2024 · 1 comment
Open

Plugin seems to not work when aot is set to false #11

ghost opened this issue Oct 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Oct 1, 2024

What version of Elysia is running?

1.1.17

What platform is your computer?

Linux 6.5.13-7-MANJARO x86_64 unknown

What steps can reproduce the bug?

export default new Elysia({
	aot: false,
})
  .use(
    opentelemetry({
      spanProcessors: [new BatchSpanProcessor(new ConsoleSpanExporter())],
    })
  )
  .get("/", () => "Hello")

What is the expected behavior?

To be honest, if it doesn't work it is what it is, would maybe make sense to add a box in the documentation about this.

But it would be really really cool if it would work with aot

What do you see instead?

No response

Additional information

No response

Have you try removing the node_modules and bun.lockb and try again yet?

No response

@ghost ghost added the bug Something isn't working label Oct 1, 2024
@hisamafahri
Copy link

+1 experiencing the same issue.

This is becomes quite a big deal especially if deploying to something like Cloudflare Workers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant