DT
Drizzle Team•2mo ago
lasse

Trying to use deno...

So i'm trying to generate migrations using drizzle-kit with deno?
deno run -A npm:drizzle-kit generate [22:31:46]
Failed to find Response internal state key
No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/lasse/Documents/dev/discordtempdenodrizzle/drizzle.config.ts'
Cannot find module 'jsr:@std/dotenv/load'
Require stack:
- /Users/lasse/Documents/dev/discordtempdenodrizzle/drizzle.config.ts
- /Users/lasse/Library/Caches/deno/npm/registry.npmjs.org/drizzle-kit/0.25.0/bin.cjs
deno run -A npm:drizzle-kit generate [22:31:46]
Failed to find Response internal state key
No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/lasse/Documents/dev/discordtempdenodrizzle/drizzle.config.ts'
Cannot find module 'jsr:@std/dotenv/load'
Require stack:
- /Users/lasse/Documents/dev/discordtempdenodrizzle/drizzle.config.ts
- /Users/lasse/Library/Caches/deno/npm/registry.npmjs.org/drizzle-kit/0.25.0/bin.cjs
6 Replies
CMarker
CMarker•2mo ago
Not an expert on Deno, but... Do you have a drizzle.config.ts file at /Users/lasse/Documents/dev/discordtempdenodrizzle/drizzle.config.ts ? 🥲
lasse
lasseOP•2mo ago
Yes
CMarker
CMarker•2mo ago
have you tested on explicitly providing a path to the drizzle.config.ts using the --config flag?
mhm13dev
mhm13dev•2mo ago
@lasse the jsr:@std/dotenv/load package doesn't work. you have to use npm:dotenv
lasse
lasseOP•2mo ago
Thanks gonna try that!
Fragh
Fragh•3w ago
where you able to make it work?
Want results from more Discord servers?
Add your server