Can't resolve 'react-query/persistQueryClient'
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
Package Version
0.5.9
Current Behavior
If I install dependencies with pnpm
and try to run the dev environment it throws the following error:
error - ../../node_modules/.pnpm/wagmi@0.5.9_w3nw2bpaojq3mlwhwp6lup3gdy/node_modules/wagmi/dist/wagmi.esm.js:5:0
Module not found: Can't resolve 'react-query/persistQueryClient'
Import trace for requested module:
./src/pages/_app.tsx
https://nextjs.org/docs/messages/module-not-found
Before, it didn’t do that and just worked fine.
I just figured out that 30min ago react-query@4.0.0
was released on npm. I guess this correlates somehow?
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:9 (7 by maintainers)
Top Results From Across the Web
I was trying to install react-query. But it is not installed. How to ...
As suggested by the error message, you can try to delete your package-lock.json file to get rid of the warning.
Read more >react-query - npm
Hooks for managing, caching and syncing asynchronous and remote data in React. Latest version: 3.39.2, last published: 5 months ago.
Read more >Installation | TanStack Query Docs
You can install React Query via NPM, or a good ol' <script> via unpkg.com. NPM. bash. $ npm i @tanstack/react-query.
Read more >Unable to install Tanstack Query · Issue #3793 - GitHub
Describe the bug Trying to install results in an error. npm i "@tanstack/react-query" Your minimal, reproducible example ?
Read more >What I learned from React-Query, and why I won't use it again
Looking it up on NPM made it very clear — React-Query could not be ... I can't underemphasize this, because it is the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
we are publishing a fix v soon 😃
Working on a fix.
For the meantime, you may need to follow @wottpal’s suggestion. Can do this for yarn too: https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/#toc-how-to-use-it