Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
Taira-U opened this issue Nov 19, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@Taira-U
Copy link

Taira-U commented Nov 19, 2024

Report hasn't been filed before.

  • 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, 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?

$ 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 👍
@Taira-U Taira-U added the bug Something isn't working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant