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
24.73k stars 653 forks source link

[BUG]:not able to run drizzle-kit #3283

Open Boby900 opened 3 weeks ago

Boby900 commented 3 weeks ago

What version of drizzle-orm are you using?

0.30.10

What version of drizzle-kit are you using?

^0.26.2

Describe the Bug

I am not able to run any drizzle-kit commands, it was working fine when I had setup the project but now I don't know from where this bug came from.

PFA Screenshot (696)

Expected behavior

No response

Environment & setup

Node: 21, Windows: 10, Chromium

AndreMaz commented 3 weeks ago

You need to bump drizzle-orm to at least v0.35.0. drizzle-orm and drizzle-kit work in "pairs" (although the compatible "pairs" are not always documented)

Some examples in release docs (link: https://github.com/drizzle-team/drizzle-orm/releases?page=1) image image

Boby900 commented 3 weeks ago

thanks for jumping in @AndreMaz can I lower the version of drizzle-kit so I can make it work with my current version, I intentionally lowered the version ofdrizzle-orm because I was getting this error("PFB") in their current version of drizzle-orm

3194