wobsoriano/vue-lite-youtube-embed

Conflicting dependency of vue 2.7?

Opened this issue · 2 comments

I got this error while installing:

PS D:\Workspace> npm install vue-lite-youtube-embed vue-frag  --save
...
npm ERR! Conflicting peer dependency: vue@2.6.14
npm ERR! node_modules/vue
npm ERR!   peer vue@">= 2.5 < 2.7" from @vue/composition-api@1.7.2
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.7.1" from vue-lite-youtube-embed@1.2.1
npm ERR!     node_modules/vue-lite-youtube-embed
npm ERR!       vue-lite-youtube-embed@"*" from the root project
...

same issue here.
It seems the @vue/composition-api is only for vue 2. so it shouldn't be in the peerDependencies setting for vue 3

I just solved my issue with the --legacy-peer-deps npm option
it seems it started to happen since npm >= 8.6 as this issue