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: Dependency mismatch for @tanstack/react-query #5729

Closed
1 task
danielz-mnx opened this issue May 20, 2024 · 2 comments
Closed
1 task

bug: Dependency mismatch for @tanstack/react-query #5729

danielz-mnx opened this issue May 20, 2024 · 2 comments
Labels

Comments

@danielz-mnx
Copy link

danielz-mnx commented May 20, 2024

Provide environment information

  System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 32.08 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - ~/.nvm/versions/node/v20.9.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v20.9.0/bin/yarn
    npm: 10.1.0 - ~/.nvm/versions/node/v20.9.0/bin/npm
    pnpm: 9.1.1 - ~/Library/pnpm/pnpm
    Watchman: 2024.04.08.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 124.0.6367.209
    Safari: 17.4.1
  npmPackages:
    @tanstack/react-query: ^5.37.1 => 5.37.1 
    @trpc/client: ^10.45.2 => 10.45.2 
    @trpc/react-query: ^10.45.2 => 10.45.2 
    @trpc/server: ^10.45.2 => 10.45.2 
    react: ^18.3.1 => 18.3.1 
    typescript: ^5.4.5 => 5.4.5 

Describe the bug

@trpc/react-query complains about missing peer dependency because of mismatch between what's in github and what is published in npm

pkg/app
├─┬ @trpc/react-query 10.45.2
│ └── ✕ unmet peer @tanstack/react-query@^4.18.0: found 5.37.1

Link to reproduction

https://stackblitz.com/github/trpc/examples-next-minimal-starter

To reproduce

run the following commands in the shell:

pnpm rm @trpc/react-query
pnpm i @trpc/react-query

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I'd be down to file a PR fixing this bug!

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@KATT
Copy link
Member

KATT commented May 21, 2024

Use trpc v11 if you want to us RQ v5

#4218 (comment)

@KATT KATT closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
@KATT KATT added the 👻 invalid Invalid bug report label May 21, 2024
Copy link

This issue has been locked because we are very unlikely to see comments on closed issues. If you are running into a similar issue, please create a new issue. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants