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]: Package version conflict for Drizzle 0.30.10 #2290

Open
DanielBaulig opened this issue May 10, 2024 · 3 comments
Open

[BUG]: Package version conflict for Drizzle 0.30.10 #2290

DanielBaulig opened this issue May 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@DanielBaulig
Copy link

DanielBaulig commented May 10, 2024

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
@DanielBaulig DanielBaulig added the bug Something isn't working label May 10, 2024
@DanielBaulig
Copy link
Author

Note there is a bub report with the exact same symptoms over here, too: nicoalbanese/kirimase#193

@mauriceackel
Copy link

Duplicate of #2251

@AndriiSherman
Copy link
Member

looking into it, thanks!

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

3 participants