Closed
Description
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
- Install the latest firebase admin and firease functions;
- Try to deploy your functions.
[REQUIRED] Expected behavior
- The functions should deploy successfuly.
[REQUIRED] Actual behavior
- 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.