Closed
Description
Version info
Angular: 13.3.11
Firebase: 10.7.1
AngularFire: 7.6.1
Other (e.g. Ionic/Cordova, Node, browser, operating system): MacOS, but deployed to Firebase Hosting, same thing happened.
How to reproduce these conditions
Failing test unit, Stackblitz demonstrating the problem
Steps to set up and reproduce
- run
npx ng serve --project account --configuration production
Note: with--configuration development
, it works. - try to add
functions: Functions
to one of the Component's constructor. - When you load the component, it will throws error
Service functions is not available Error: Service functions is not available
Sample data and security rules
Debug output
** Errors in the JavaScript console **
** Screenshots **

Expected behavior
Functions should work, just like when in development mode.
Actual behavior
It throws Service functions is not available Error: Service functions is not available
Metadata
Metadata
Assignees
Labels
No labels