Skip to content

package not compatible with firebase-admin 13 #246

Closed
@gigilibala

Description

@gigilibala

Version info

firebase-functions-test:

"firebase-functions-test": "^3.3.0",

firebase-functions:

"firebase-functions": "^6.1.1",

firebase-admin:

"firebase-admin": "^13.0.1",

Test case

Look below. the dependency is missing. This is failing our deployments.

Steps to reproduce

Quite obvious from peer dependency that firebase-admin 13 is missing:

  "peerDependencies": {
    "firebase-admin": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0",
    "firebase-functions": ">=4.9.0",
    "jest": ">=28.0.0"
  },

Expected behavior

It should work with latest version of firebase-admin.

Actual behavior

Build failed with status: FAILURE and message: npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @cocomango/functions@undefined
npm error Found: firebase-admin@13.0.1
npm error node_modules/firebase-admin
npm error   firebase-admin@"^13.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer firebase-admin@"^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0" from firebase-functions-test@3.3.0
npm error node_modules/firebase-functions-test
npm error   dev firebase-functions-test@"^3.3.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Please, fix. Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions