Skip to content

upgrade to firebase-admin v12.0.0 not resolved dependency #2423

@marco-mastella

Description

@marco-mastella

[REQUIRED] Step 2: Describe your environment

Attached my package.json file
package.json
SO: Windows 10 Home

[REQUIRED] Step 3: Describe the problem

After the install of lastest version of firebase-admin (v12.0.0) on npm install it shows and error for not resolved dependency.

npm resolution error report

While resolving: [email protected]
Found: [email protected]
node_modules/firebase-admin
firebase-admin@"^12.0.0" from the root project
peer firebase-admin@"^10.0.0 || ^11.0.0 || ^12.0.0" from [email protected]
node_modules/firebase-functions
firebase-functions@"^4.6.0" from the root project
peer firebase-functions@">=4.3.0" from [email protected]
node_modules/firebase-functions-test
dev firebase-functions-test@"^3.1.0" from the root project

Could not resolve dependency:
peer firebase-admin@"^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" from [email protected]
node_modules/firebase-functions-test
dev firebase-functions-test@"^3.1.0" from the root project

Conflicting peer dependency: [email protected]
node_modules/firebase-admin
peer firebase-admin@"^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0" from [email protected]
node_modules/firebase-functions-test
dev firebase-functions-test@"^3.1.0" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

i already opened the Case 10265821 and Firebase team answered to open an issue

Steps to reproduce:

install firebase-admin (v12.0.0)

Metadata

Metadata

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