vue-lite-youtube-embed
vue-lite-youtube-embed copied to clipboard
Conflicting dependency of vue 2.7?
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
...
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