-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Unable to install vue-query for nuxt 3 #5115
Comments
This is a problem on your end. E.g. try to clean the npm cache (e.g. |
Indeed it seems like a cache issue. Fixed with the cache clean command. thanks @ctholho. Mark as answered |
I am running into the same issue, with a fresh install of Nuxt 3. Cleaning the cache unfortunately did not resolve the issue, and I have verified that Vue 2.6 is not required anywhere.
|
Recent NPM version install peer dependencies by default.
|
Edit: ninja'd by your edit. 👍 query/packages/vue-query/package.json Lines 56 to 58 in 5335294
Optional peer dependencies shouldn't be installed: See npm/rfcs#221 The repro stackblitz of OP doesn't have the problem you're describing. |
Describe the bug
Hi folks, I am trying to experiment vue-query with Nuxt3 however when I'm trying to install the package via npm. I got an error regarding conflicting peer dependency.
However it seems to be installing right in the stackblitz environment.
Your minimal, reproducible example
https://stackblitz.com/edit/nuxt-starter-vgim69?file=package.json
Steps to reproduce
npx nuxi@latest init my-app
npm i @tanstack/vue-query
Expected behavior
There shouldn't be a dependency peer issue as I'm installing the latest Nuxt3 Version
How often does this bug happen?
Every time
Screenshots or Videos
Platform
Tanstack Query adapter
None
TanStack Query version
^4.26.1
TypeScript version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: