You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The generated Cloud Functions manifest omits firebase-admin, so the deployed function crashes wherever peers are not auto-installed #3744
AngularFire: 21.0.0-rc.0 (the current npm next) and main. The rc.0 tarball's shipped schematics/versions.json carries firebase-admin with no version field at all
How to reproduce these conditions
ng deploy with SSR writes a package.json for the Cloud Function it deploys, with dependency versions resolved from src/schematics/versions.json at build time. The root package.json has no firebase-admin entry, so the build resolves its version to undefined and JSON.stringify silently drops it. The generated manifest declares firebase-functions alone.
That is not enough to run:
firebase-functions 6.x declares firebase-admin as a required, non-optional peer, and requires it eagerly at module load.
Plain npm install auto-installs the missing peer and hides the problem.
npm install --legacy-peer-deps does not. Installing the generated manifest that way and loading the function's entry points:
Activity
build: fail the build when a schematic dependency version is missing
fix(deploy): declare firebase-admin in the generated Cloud Functions …