Open bassamanator opened 6 days ago
I'm also getting a similar issue when I use the deno -A npm:drizzle-kit generate
command.
deno -A npm:drizzle-kit generate
No config path provided, using default 'drizzle.config.ts'
Reading config file '/Users/yeen125/Deno Practice/deno_drizzle_tutorial/drizzle.config.ts'
Cannot find module 'drizzle-kit'
Require stack:
- /Users/yeen125/Deno Practice/deno_drizzle_tutorial/drizzle.config.ts
- /Users/yeen125/Library/Caches/deno/npm/registry.npmjs.org/drizzle-kit/0.28.1/bin.cjs
deno 2.1.1 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2
Same here, cannot find module after running deno -A npm:drizzle-kit generate
:
Cannot find module 'drizzle-kit'
Require stack:
- D:\Daniel\Documents\Web\phrd-auth\drizzle.config.ts
- C:\Users\Daniel\AppData\Local\deno\npm\registry.npmjs.org\drizzle-kit\0.28.1\bin.cjs
deno 2.1.1 (stable, release, x86_64-pc-windows-msvc)
v8 13.0.245.12-rusty
typescript 5.6.2
I tried to add drizzle to an existing project using the blog/video, but that didn't work, so I'm trying these examples. Still not working.
The db url is correct, and the db has been manually created via
create database "deno-test";
.What am I doing wrong? Thanks!