DT
Drizzle Team•3mo 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•3mo 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•3mo ago
Yes
CMarker
CMarker•3mo ago
have you tested on explicitly providing a path to the drizzle.config.ts using the --config flag?
mhm13dev
mhm13dev•3mo ago
@lasse the jsr:@std/dotenv/load package doesn't work. you have to use npm:dotenv
lasse
lasseOP•3mo ago
Thanks gonna try that!
Fragh
Fragh•2mo ago
where you able to make it work?
Want results from more Discord servers?
Add your server