drizzle-orm
drizzle-orm copied to clipboard
[BUG]: Package version conflict for Drizzle 0.30.10
What version of drizzle-orm are you using?
0.30.10
What version of drizzle-kit are you using?
No response
Describe the Bug
I am trying to update my app dependencies, but getting a react version conflict that seems to originate in Drizzle. I'am attaching the full output below, but it seems like Drizzle is pulling in @op-engineering/op-sqlite, which is pulling in [email protected], whichrequires react at exactly 18.2.0 (semver locked to that version). This prevents any updates to react beyond that point.
Expected behavior
No response
Environment & setup
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @undefined npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! peer react@"^16.8 || ^17.0 || ^18.0" from @radix-ui/[email protected] npm ERR! node_modules/@radix-ui/react-accordion npm ERR! @radix-ui/react-accordion@"^1.1.2" from the root project npm ERR! 8 more (react-dom, @radix-ui/react-collapsible, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! drizzle-orm@"^0.30.10" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"18.2.0" from [email protected] npm ERR! node_modules/react-native npm ERR! peer react-native@">0.73.0" from @op-engineering/[email protected] npm ERR! node_modules/@op-engineering/op-sqlite npm ERR! peerOptional @op-engineering/op-sqlite@">=2" from [email protected] npm ERR! node_modules/drizzle-orm npm ERR! drizzle-orm@"^0.30.10" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution
Note there is a bub report with the exact same symptoms over here, too: https://github.com/nicoalbanese/kirimase/issues/193
Duplicate of #2251
looking into it, thanks!