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

firebase admin v13 release #1640

Closed
Ranguna opened this issue Nov 19, 2024 · 4 comments · Fixed by #1641
Closed

firebase admin v13 release #1640

Ranguna opened this issue Nov 19, 2024 · 4 comments · Fixed by #1641

Comments

@Ranguna
Copy link

Ranguna commented Nov 19, 2024

Related issues

[REQUIRED] Version info

node: 20

firebase-functions: 6.1.0

firebase-tools: 13.23.0

firebase-admin: 13.0.0

[REQUIRED] Test case

Use a minimal firebase project with the latest firease function and firebase admin.

[REQUIRED] Steps to reproduce

  1. Install the latest firebase admin and firease functions;
  2. Try to deploy your functions.

[REQUIRED] Expected behavior

  1. The functions should deploy successfuly.

[REQUIRED] Actual behavior

  1. The functions fail to deploy with the following error:
Build failed with status: FAILURE and message: npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/firebase-admin
npm error   firebase-admin@"^13.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer firebase-admin@"^11.10.0 || ^12.0.0" from [email protected]
npm error node_modules/firebase-functions
npm error   firebase-functions@"^6.1.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/firebase-admin
npm error   peer firebase-admin@"^11.10.0 || ^12.0.0" from [email protected]
npm error   node_modules/firebase-functions
npm error     firebase-functions@"^6.1.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.
npm error
npm error
npm error For a full report see:
npm error /www-data-home/.npm/_logs/2024-11-19T21_49_32_516Z-eresolve-report.txt

Were you able to successfully deploy your functions?

No.

@google-oss-bot
Copy link
Collaborator

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@theskipjack
Copy link

I'm experiencing the same issue in trying to upgrade firebase-admin and firebase-functions to their latest versions

@marco-mastella
Copy link

me too, today I updated also
firebase-functions ^6.1.1 → ^6.1.2
but the problem is still there.

@FernandoAOborges
Copy link

me too, today I updated also firebase-functions ^6.1.1 → ^6.1.2 but the problem is still there.

Did anyone manage to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants