-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Version info
Angular: 10
Firebase: 8.4.3
AngularFire: 6.0.2
How to reproduce these conditions
Steps to set up and reproduce
- Create a new Angular project (or use an existing one)
- Install Angular Universal dependencies
ng add @nguniversal/express-engine - Install Angular Fire dependencias
ng add @angular/fire - Setup the project following the quickstart guide
- Create a simple service injecting
AngularFireDatabase - Create a function that returns
database.list().valueChanges()ordatabase.list().stateChanges()observable - Create a function on any component that consumes the early created service
- Run
npm run dev:ssr
At this point, some warnings are fired, but they can be easily solved by adding dependencies on angular.json file.
The project builds smoothly, but the application crashes when opened in browser.
IMPORTANT
The same does not happen when running via ng serve command
Debug output
Expected behavior
The application keeps running
Actual behavior
The application crashes on open
Metadata
Metadata
Assignees
Labels
No labels

