angularfire
angularfire copied to clipboard
Zone 0.13.0 with SSR get Method Promise.prototype.then called on incompatible receiver () => {}
**Angular: 15.2.4 **
**Firebase: 9.17.2 **
**AngularFire: 7.5.0 **
How to reproduce these conditions
Update you project Angular with zone to 0.13.0
Expected behavior
Load Page with SSR without error. If i change zone.js to 0.12.0 it's works.
When try to load with SSR your page get this:
TypeError: Method Promise.prototype.then called on incompatible receiver () => {}
at Proxy.then (<anonymous>)
at Proxy.Ctor.then (webpack://./src/app/app.component.scss:10:1)
at AngularFireAnalyticsModule (webpack://./src/app/app.component.scss:10:1)
at Object.AngularFireAnalyticsModule_Factory (webpack://./src/app/app.component.scss:10:1)
at Object.factory (webpack://./src/app/app.component.scss:10:1)
at R3Injector.hydrate (webpack://./src/app/app.component.scss:10:1)
at R3Injector.get (webpack://./src/app/app.component.scss:10:1)
at injectInjectorOnly (webpack://./src/app/app.component.scss:10:1)
at ɵɵinject (webpack://./src/app/app.component.scss:10:1)
at useValue (webpack://./src/app/app.component.scss:10:1)
This issue does not seem to follow the issue template. Make sure you provide all the required information.