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 peer dependency: vue@2.6.14 #1445

Closed
MartinX3 opened this issue Jul 12, 2022 · 1 comment
Closed

Conflicting peer dependency: vue@2.6.14 #1445

MartinX3 opened this issue Jul 12, 2022 · 1 comment

Comments

@MartinX3
Copy link

Reproduction

"vue": "^2.6.14 || ^3.2.0"

Steps to reproduce the bug

npm install pinia

Expected behavior

Successful installation

Actual behavior

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.0
npm ERR!   node_modules/@vue/composition-api
npm ERR!     peerOptional @vue/composition-api@"^1.4.0" from pinia@2.0.15
npm ERR!     node_modules/pinia
npm ERR!       pinia@"*" from the root project

Additional information

I'm using Vue 2.7 and of course don't use the composition-api package.

npm install --force pinia is a workaround.

@posva
Copy link
Member

posva commented Jul 12, 2022

Duplicate of #853

@posva posva marked this as a duplicate of #853 Jul 12, 2022
@posva posva closed this as completed Jul 12, 2022
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