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

I got error npm ERR! Conflicting peer dependency: [email protected] #36

Open
superdiazzz opened this issue Apr 15, 2023 · 2 comments
Open

Comments

@superdiazzz
Copy link

This library seems useful for my project then I using Vue 3 Composition API which version is 3.2.31 and also Vite version 2.5.4. My Install got problem and return this error code:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 3.0.0 < 4" from @fortawesome/[email protected]
npm ERR!   node_modules/@fortawesome/vue-fontawesome
npm ERR!     @fortawesome/vue-fontawesome@"^3.0.0-5" from the root project
npm ERR!   peer vue@"next" from @handsontable/[email protected]
npm ERR!   node_modules/@handsontable/vue3
npm ERR!     @handsontable/vue3@"^12.3.0" from the root project
npm ERR!   28 more (@highlightjs/vue-plugin, @kyvg/vue3-notification, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @vueuse/sound@"*" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 2.7" from @vue/[email protected]
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.0.0-rc.1" from @vueuse/[email protected]
npm ERR!     node_modules/@vueuse/sound
npm ERR!       @vueuse/sound@"*" from the root project
npm ERR! 
julapps@Juls-Air gundu % npm install @vueuse/sound
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 3.0.0 < 4" from @fortawesome/[email protected]
npm ERR!   node_modules/@fortawesome/vue-fontawesome
npm ERR!     @fortawesome/vue-fontawesome@"^3.0.0-5" from the root project
npm ERR!   peer vue@"next" from @handsontable/[email protected]
npm ERR!   node_modules/@handsontable/vue3
npm ERR!     @handsontable/vue3@"^12.3.0" from the root project
npm ERR!   28 more (@highlightjs/vue-plugin, @kyvg/vue3-notification, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @vueuse/sound@"*" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 2.7" from @vue/[email protected]
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.0.0-rc.1" from @vueuse/[email protected]
npm ERR!     node_modules/@vueuse/sound
npm ERR!       @vueuse/sound@"*" 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.
npm ERR! 
npm ERR! See /Users/julapps/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/julapps/.npm/_logs/2023-04-15T01_58_25_131Z-debug-0.log

Anyone can Help?

@bloor
Copy link

bloor commented Jul 5, 2023

Same issue..
I was looking forward to shift most 3rd party libraries to vueUse replacements. But this one , failed miserably on NPM install.
I'll keep directly using HowlerJS _

@davidstackio
Copy link

You can try adding this to your package.json:

"overrides": {
  "vue": "latest"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants