Skip to content

Dependency conflict with firebase-functions@7.x when installing nuxt-vuefire #1646

@Tkkg1994

Description

@Tkkg1994

Reproduction

Steps to reproduce the bug

  1. Create a new Nuxt project (or use an existing one).

  2. Install Firebase Functions v7:

    npm install firebase-functions@^7.0.0
  3. Install VueFire for Nuxt:

    npm install nuxt-vuefire@^1.1.0
  4. Observe the dependency resolution error.

Expected behavior

nuxt-vuefire should install successfully and support the latest
Firebase Functions release (firebase-functions@7.x) without requiring
--force or --legacy-peer-deps.

Actual behavior

Installation fails due to a peer dependency conflict:

npm ERR! ERESOLVE could not resolve
npm ERR! While resolving: nuxt-vuefire@1.1.0
npm ERR! Found: firebase-functions@7.0.0
npm ERR! node_modules/firebase-functions
npm ERR!   firebase-functions@"^7.0.0" from the root project

npm ERR! Could not resolve dependency:
npm ERR! peerOptional firebase-functions@"^4.1.0 || ^5.0.0 || ^6.1.2" from nuxt-vuefire@1.1.0

npm ERR! Conflicting peer dependency: firebase-functions@6.6.0
npm ERR!   peerOptional firebase-functions@"^4.1.0 || ^5.0.0 || ^6.1.2" from nuxt-vuefire@1.1.0

Additional information

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