You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call a query in a dynamic imported module I get this error:
warning: Node-API function "napi_type_tag_object" is not implemented yet.
Track the status of Node-API in Bun: https://github.com/oven-sh/bun/issues/158
thread '<unnamed>' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/neon-1.0.0/src/sys/tag.rs:120:5:
assertion `left == right` failed
left: GenericFailure
right: Ok
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: script "dev" was terminated by signal SIGABRT (Abort)
[1] 3284 abort bun dev
If I comment the query and the drizzle imports there is no error so the error is coming from drizzle
Expected behavior
I guess drizzle fully supports the bun runtime so I was hoping for the query to execute normally
What version of
drizzle-orm
are you using?0.30.9
What version of
drizzle-kit
are you using?0.20.17
Describe the Bug
When I call a query in a dynamic imported module I get this error:
If I comment the query and the drizzle imports there is no error so the error is coming from drizzle
Expected behavior
I guess drizzle fully supports the bun runtime so I was hoping for the query to execute normally
Environment & setup
Bun: 1.1.3
Ubuntu 20.04 (WSL)
Typescript: ^5.0.0
My db/index.ts drizzle initialization:
My db/schema.ts
The text was updated successfully, but these errors were encountered: