Deno runtime support #3162
Replies: 2 comments 4 replies
-
I get that error when I run drizzle-kit generate without temporarily removing the UPDATE |
Beta Was this translation helpful? Give feedback.
-
After some struggle, I figured out that adding flag deno run --node-modules-dir --allow-env --allow-read --allow-sys --allow-write --allow-run npm:drizzle-kit generate --dialect postgresql --schema ./src/db/schema.ts --out ./src/db/migrations |
Beta Was this translation helpful? Give feedback.
-
Hi, first of all, thanks for tackling the complex problem of human-friendly ORM!
As I tried to integrate drizzle + neon for deno 2.0.2, I hit the roadblock with
drizzle-kit
. More details denoland/deno#19826 (comment).deno run npm:drizzle-kit generate --dialect postgresql --schema ./src/db/schema.ts --out ./src/db/migrations Failed to find Response internal state key Error: Cannot find module 'drizzle-orm/pg-core'
💡 Do you consider distributing
drizzle-kit
as a binary?Betting on node could be totally reasonable choice. But I've seen people talking about issues with studio, and drizzle-kit didn't work for me because it's written for the specific runtime. Do you see similar friction with Bun?
Beta Was this translation helpful? Give feedback.
All reactions