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: [email protected] #174

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

Conflicting peer dependency: [email protected] #174

MartinX3 opened this issue Jul 12, 2022 · 1 comment

Comments

@MartinX3
Copy link

MartinX3 commented Jul 12, 2022

Using vue 2.7 I can't install pinia, because of this issue.
Probably because of

"vue": "^3.0.0-0 || ^2.6.0"

npm ERR! Could not resolve dependency:
npm ERR! vue-demi@"*" from the root project
npm ERR! 
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.0.0-rc.1" from [email protected]
npm ERR!     node_modules/vue-demi
npm ERR!       vue-demi@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Also if I force install pinia it tells me at buildtime that the dep vue-demi is missing which I also need to force install.

MartinX3 added a commit to Rad-Touristik-Club-Koln-e-V-1972/Rad-Touristik-Club-Koln-e-V-1972.github.io that referenced this issue Jul 12, 2022
@antfu
Copy link
Member

antfu commented Jul 17, 2022

I am not sure what we can do about it. If you do, PR welcome.

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