Clintonn
Clintonn2w ago

I run "deno -A npm:drizzle-kit generate", deno hits me with "Cannot find module 'drizzle-kit'"

Hello everyone, I'm pretty new to deno and I've been building an express app with drizzle as my ORM. The problem is, I can't seem to generate migration files with the deno -A npm:drizzle-kit generate command, instead deno throws an error Please, can anyone help me? I've been battling this since yesterday, claude couldn't even provide a solution, here's the error deno give me: Reading config file "C:\Users\me\Desktop\backend\drizzle-app\drizzle.config.ts" Cannot find module 'drizzle-kit' Require stack: - C:\Users\me\Desktop\backend\drizzle-app\drizzle.config.ts - C:\Users\me\AppData\Local\deno\npm\registry.npmjs.org\drizzle-kit\0.30.4\bin.cjs
4 Replies
©TriMoon™
©TriMoon™2w ago
Explain what you intend to happen with that command line you used... Then people might be able to guide you better...
Clintonn
ClintonnOP2w ago
i want to generate the migration files from my declared schema vis drizzle orm, the command looks at my drizzle.config.ts file and runs the command with those settings
coty
coty2w ago
Clintonn
ClintonnOP2w ago
omg thank you so much!!!

Did you find this page helpful?