Firebase · sdk · fg-0193
npm install fails with ERESOLVE when adding firebase-admin 14 to a Cloud Functions project
ERESOLVE unable to resolve dependency tree
Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100
Cause
firebase-functions declares the firebase-admin majors it supports as a peer range, and that range lagged the firebase-admin 14 release by about six weeks.
Fix
Upgrade firebase-functions to 7.3.0 or later together with firebase-admin 14. Avoid legacy-peer-deps as a permanent fix.
Apply
npm install firebase-functions@^7.3.0 firebase-admin@^14 # functions/package.json engines must also be node 22 or later for firebase-admin 14
Affects: firebase-functions 7.2.x and earlier with firebase-admin 14.x; fixed in firebase-functions 7.3.0 (July 2026)
Sources
Have your agent know this before it fails
claude mcp add --transport http footgun https://getfootgun.com/api/mcp