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 · 1 comment
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

[email protected], [email protected]

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 ([email protected]) available at the moment, I keep getting the same error message.
The version of drizzle-orm corresponding to [email protected] does not seem to be [email protected], which is the latest at the moment.
Can you tell me which version of drizzle-orm corresponds to [email protected]?

$ 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
@dalton-oliveira
Copy link

dalton-oliveira commented Nov 23, 2024

I had the same error and I'm using [email protected] as a package manager. I could workaround this by forcing a dependencies on .yarnrc.yml

packageExtensions:
  drizzle-kit@*:
    dependencies:
      drizzle-orm: "*"
      pg: "*"

Then I ran yarn drizzle-kit pull

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

2 participants