Skip to content

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

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions