Skip to content

Conflicting peer dependency: vue@2.6.14 #1446

@MartinX3

Description

@MartinX3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions