[BUG]: drizzle-kit push TypeError Cannot use 'in' operator to search for 'default' in undefined
Problem
What version of `drizzle-orm` are you using? 0.30.10 What version of `drizzle-kit` are you using? 0.21.4 Describe the Bug run drizzle-kit push get error [code block] I had to drop all my tables and only then it worked [code block] however running it again with NO changes to schema or anything it shows the error again [code block] The error is also present when using npm [code block] Error is not present on older versions of drizzle-kit [code block] Expected behavior I should be able to run drizzle-kit push with no errors without having to reset my tables * and errors should be present when nothing has even changed? Please let me know if there is anything else that you need! Environment & setup Drizzle Config [code block] Drizzle Schema [code block] Package.json [code block]
Error Output
Error: Cannot use 'in' operator to search for 'default' in undefined
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [BUG]: drizzle-kit push TypeError Cannot use 'in' operator to search for 'default' in undefined
Getting a similar error since moving to drizzle-kit `0.22.0` and drizzle-orm `0.31.0` No error in drizzle-kit `0.21.0` and drizzle-orm `0.30.7`. [code block]
Trust Score
3 verifications
- 1
Getting a similar error since moving to drizzle-kit `0.22.0` and drizzle-orm `0.
Getting a similar error since moving to drizzle-kit `0.22.0` and drizzle-orm `0.31.0`
- 2
No error in drizzle-kit `0.21.0` and drizzle-orm `0.30.7`.
No error in drizzle-kit `0.21.0` and drizzle-orm `0.30.7`.
Validation
Resolved in drizzle-team/drizzle-orm GitHub issue #2385. Community reactions: 3 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep