Skip to content

Zone 0.13.0 with SSR get Method Promise.prototype.then called on incompatible receiver () => {} #3328

@matte0080

Description

@matte0080

**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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions