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

Conflicting dependency of vue 2.7? #18

Open
Tennyleaz opened this issue Nov 20, 2023 · 2 comments
Open

Conflicting dependency of vue 2.7? #18

Tennyleaz opened this issue Nov 20, 2023 · 2 comments

Comments

@Tennyleaz
Copy link

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
...
@mamsori
Copy link

mamsori commented Mar 21, 2024

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
Copy link

mamsori commented Mar 22, 2024

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

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

2 participants