how to use in deno

im trying to use it in deno but there are errors
No description
19 Replies
Revan
Revan14mo ago
do you have to do npm:drizzle-orm or something
untitled.
untitled.OP14mo ago
what
Revan
Revan14mo ago
npm: specifiers | Deno Docs
Since version 1.28, Deno has native support for importing npm packages. This is
Revan
Revan14mo ago
idk Ive never used deno lol
untitled.
untitled.OP14mo ago
No description
untitled.
untitled.OP14mo ago
i do that it never works here i try to push this
untitled.
untitled.OP14mo ago
whats that
untitled.
untitled.OP14mo ago
No description
Revan
Revan14mo ago
no more npm: so just dpx drizzle-kit
untitled.
untitled.OP14mo ago
it still sayas wame thing
dpx drizzle-kit studio --config=d.conf.ts
dpx drizzle-kit studio --config=d.conf.ts
@Revan @Angelelz
Revan
Revan14mo ago
oh Under the hood, the CLI finds the file to run (cli.ts or mod.ts) from the Deno registry and runs it. doesnt look good
Angelelz
Angelelz14mo ago
I don't think I can be of any help, I had never used Deno
untitled.
untitled.OP14mo ago
when will this be released for deno or does anyone here know how to use it with deno?
Revan
Revan14mo ago
my opinion: if none of the core maintainers use deno its not likely
untitled.
untitled.OP14mo ago
there is a wrapper for deno but it only supports posgtre
Revan
Revan14mo ago
Im sure it wouldnt be too hard to make a cli.ts that calls the other drizzle kit file, youd have to wait untill drizzle kit is open source
untitled.
untitled.OP14mo ago
tho im using mysql @Andrew Sherman ETA on deno support?
joshpachner
joshpachner12mo ago
i almost have drizzle running in Deno. (just one thing blocking it is the IsDrizzleTable error). But once i get it all running smoothly, i'll share what I did to get it working. But im not using drizzle-kit though, since the migrations are handled in a node app. its drizzle connected to a postgres db though, but that shouldnt be an issue ok. i switched from my laptop to my desktop and now everything looks to be running smooth with the intelisense in vscode (no more IsDrizzleTable error). @dêniz im not running drizzle kit in deno. but i can show you the drizzle orm portion that i am running in deno, if you want
Want results from more Discord servers?
Add your server