vue-lite-youtube-embed icon indicating copy to clipboard operation
vue-lite-youtube-embed copied to clipboard

Conflicting dependency of vue 2.7?

Open Tennyleaz opened this issue 2 years ago • 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: [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.7.1" from [email protected]
npm ERR!     node_modules/vue-lite-youtube-embed
npm ERR!       vue-lite-youtube-embed@"*" from the root project
...

Tennyleaz avatar Nov 20 '23 01:11 Tennyleaz

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

mamsori avatar Mar 21 '24 16:03 mamsori

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

mamsori avatar Mar 22 '24 18:03 mamsori