drizzle-team / drizzle-team/drizzle-orm

[BUG]: Installing latest drizzle-kit and drizzle-orm results in version error

Open
#3,578 13 comments 4 reactions 0 assignees View on GitHub
bug priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [X] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

0.36.3

### What version of `drizzle-kit` are you using?

0.28.1

### Other packages

drizzle-zod@0.5.1, pg@8.13.1

### Describe the Bug

I created a project with drizzle and postgresql according to the official documentation [postgresql-new](https://orm.drizzle.team/docs/get-started/postgresql-new), and when I run `npx drizzle-kit push`, it prompts me to update drizzle-orm and exits with an error.
However, when I update drizzle-orm to the latest version (drizzle-orm@0.36.3) available at the moment, I keep getting the same error message.
The version of drizzle-orm corresponding to drizzle-kit@0.28.1 does not seem to be drizzle-orm@0.36.3, which is the latest at the moment.
Can you tell me which version of drizzle-orm corresponds to drizzle-kit@0.28.1?

```bash
$ npx drizzle-kit push
No config path provided, using default 'drizzle.config.ts'
Reading config file '/XXX/drizzle.config.ts'
This version of drizzle-kit requires newer version of drizzle-orm
Please update drizzle-orm package to the latest version 👍
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.