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

1 messages · Page 1 of 1 (latest)

solid root
#

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`
supple flame
#

Explain what you intend to happen with that command line you used...
Then people might be able to guide you better...

solid root
lunar girder