Merlin
Merlin
DTDrizzle Team
Created by Chrissi (@stargazer_fi) on 10/5/2023 in #help
drizzle-kit bindings error with bun using local sqlite file
Aye. It’s a pleasure. For clarity, the resolution for me was to run npm install. That PR I created is separate, which seems to resolve another issue with bun and libsql related to booleans being interpreted as bigints. Cheers! 🌹✨
5 replies
DTDrizzle Team
Created by Chrissi (@stargazer_fi) on 10/5/2023 in #help
drizzle-kit bindings error with bun using local sqlite file
After much trial, I resolved this by using npm alongside bun. It doesn’t fix the underlying cause of the issue of course, but after I ran npm install, all of my bun commands worked, like bun —bun run db:push or bunx drizzle-kit push:sqlite Godspeed. It’s early, the ecosystem is evolving rapidly, and the juice is worth the squeeze for me to get bun, sveltekit, drizzle and turso working nicely with debugging. Along the lines of bun in the ecosystem, I also created a PR for @libsql/libsql-client-ts to resolve some issues that appear related to bun and bigints being used to interpret boolean values. https://github.com/libsql/libsql-client-ts/pull/113
5 replies