drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
23.13k stars 564 forks source link

[BUG]: drizzle-orm dependency missing in drizzle-kit #2771

Open lida-spaceport opened 1 month ago

lida-spaceport commented 1 month ago

What version of drizzle-orm are you using?

0.33.0

What version of drizzle-kit are you using?

0.24.0

Describe the Bug

When I run drizzle-kit generate I get the following error:

TypeError: (0 , import_pg_core.isPgSequence) is not a function at /Users/projects/monorepo/node_modules/.pnpm/drizzle-kit@0.24.0/node_modules/drizzle-kit/bin.cjs:18348:45

When I inspect the drizzle-orm version in package.json, it shows "drizzle-orm": "workspace:./drizzle-orm/dist",

Expected behavior

Generate command runs without error

Environment & setup

Node v18.19.1 pnpm 8.10.5 No response

p-zielinski commented 1 month ago

I had the same issiue, using 0.22.8 version of drizzle-kit fixed it