drizzle-team / drizzle-team/drizzle-orm
[BUG]: Package version conflict for Drizzle 0.30.10
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### 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 react-native@0.74.1, 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: react@18.3.1 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/react-accordion@1.1.2 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: react@18.2.0 npm ERR! node_modules/react npm ERR! peer react@"18.2.0" from react-native@0.74.1 npm ERR! node_modules/react-native npm ERR! peer react-native@">0.73.0" from @op-engineering/op-sqlite@5.0.6 npm ERR! node_modules/@op-engineering/op-sqlite npm ERR! peerOptional @op-engineering/op-sqlite@">=2" from drizzle-orm@0.30.10 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
```
Contributor guide
Assessment
This issue has not been assessed yet.