-
-
Notifications
You must be signed in to change notification settings - Fork 688
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
[BUG]: drizzle-orm incorrectly imports @libsql/client causing build failure at the edge. #1123
Labels
bug
Something isn't working
Comments
Fixed in #1122, currently available on |
7 tasks
7 tasks
I tried to install |
Workaround is to use 0.28.3 |
Seems like this issues is fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of
drizzle-orm
are you using?0.28.5
What version of
drizzle-kit
are you using?0.19.13
Describe the Bug
Starting with 0.28.4
drizzle-orm
imports@libsql/client
See line 4 of https://unpkg.com/browse/drizzle-orm@0.28.4/libsql/index.mjs
This creates a problem because
@libsql/client
depends on node, which means it can't be deployed to edge environments. One gets a build error. The correct import for edge is@libsql/client/web
Expected behavior
Do not import
@libsql/client
Environment & setup
No response
The text was updated successfully, but these errors were encountered: