#drizzle/turso/bun
1 messages · Page 1 of 1 (latest)
For starters, you should download their driver and use it, as sqlite over internet isn't a normal thing (and thus bun sqlite won't be able to do it)
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Ok. So there is no way to fix it? I have already tried that and when I do bun migrate through the console, I get an err saying that Bun does not exist.
@maiden cargo
Bun is not defained T.T and i dont understand
I already had experience integrating drizzleORM into node and there are several ways, I have tried all the ones I could think of, but I have not been able to make it work T.T
@maiden cargo xDLOLOLOL amazing 2h testing and it was just a matter of changing Bun * process my god
Yeah, that means it us running in node rn... if you really wanted bun, then use smth like bunx --bun drizzle-kit ...
Ah I see, drizzle is doing some fancy node api that bun doesn't support yet
Basically every npm package cli has a "shebang" which says to execute as node... so bun respects it for now (unless you say otherwise)
Thank you very much bro. I had been looking for a solution for 2 days, incredibly it was 1 line of code, I have already tested it and I think I understand much better what each configuration does.
tbh i think this is just some bad incompatibility with bun runtime sadly :(
Just like this is only for development, it doesn't affect having it in node. messirve xD