anteriovieira / vue-youtube

A simple component for a powerful API. vue-youtube provides a simple layer for you to use your imagination while over the YouTube IFrame Player API.
MIT License
341 stars 56 forks source link

Trying to install it, I get the error: ERESOLVE unable to resolve dependency tree #86

Open asaadmahmood opened 3 years ago

asaadmahmood commented 3 years ago
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: vue@3.2.9
npm ERR! node_modules/vue
npm ERR!   vue@"^3.1.5" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.3.0" from vue-youtube@1.4.0
npm ERR! node_modules/vue-youtube
npm ERR!   vue-youtube@"*" 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/asaadmahmood/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/asaadmahmood/.npm/_logs/2021-09-06T07_42_06_366Z-debug.log

Screenshot 2021-09-06 at 12 42 29 PM

TitanFighter commented 3 years ago

You use vue3. Vue-Youtube is not compatible with Vue3.

Use this one instead: https://github.com/wobsoriano/vue-lite-youtube-embed