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
this.scheduler.notify is not a function in Angular Fire with Angular 19.1.4 #3618
Fixed!Resolved in a current release.comp: zonesChange detection / zone.js / zoneless.type: bugDefect: expected behavior doesn't happen.version: current (v17+)Targets the current modular API (v17+).
After updating Angular and related packages, getting error "this.scheduler.notify is not a function" when using Angular Fire. Need help identifying exact reproduction steps.
Updated to (Not Working)
@angular/core: 19.1.4
@angular/fire: 19.0.0
zone.js: 0.15.0
Previously Working with
@angular/core: 18.2.2
@angular/fire: 18.0.1
zone.js: 0.14.10
Error Stack
this.scheduler.notify is not a function
at core.mjs:6165:28
at cleanupTask (rxjs-interop.mjs:281:17)
at Object.next (rxjs-interop.mjs:287:21)
at ConsumerObserver.next (Subscriber.js:91:33)
at SafeSubscriber._next (Subscriber.js:60:26)
at SafeSubscriber.next (Subscriber.js:31:18)
at observeOn.js:6:130
at AsyncAction.<anonymous> (executeSchedule.js:3:9)
at angular-fire.mjs:72:26
at _ZoneDelegate.invoke (zone.js:369:28)
Question
Can anyone help identify the exact steps to reproduce this error? What operations/methods trigger this specific error?
Error occurs immediately on the top page without any user interaction
@riya-amemiya you're not the only one #3592
it seems to have to do with Auth for us, but I was not able to easily create a minimal repro.
We're not using SSR
@riya-amemiya if you would be able to make a minimal repro that would be great. I've tried but I haven't succeeded. But also the angular team requested a reproduction to be able to look into fixing this.
Thank you for sharing the information. While I'm not sure if I can reproduce it, I will do my best to help ensure that everyone, including myself, can update to Angular v19 without any issues.
After upgrading to Angular 19.1.x, zone.js 0.15.0 and @angular/fire 19.0.0, the app crashes because a small helper inside Angular is missing after the build, so when AngularFire tries to run it, the error appears:
Thanks for the report, and thanks to everyone who helped narrow it down. As @Davileal noted in the thread, the root cause is the Angular bug angular/angular#60074, where a helper was stripped during the build, and it was fixed in @angular/core 19.2.1, zone.js 0.15.2, and @angular/fire 19.1.0. Upgrading resolves this.
I'm closing as fixed, but please reopen or file a new issue if you still see this.scheduler.notify is not a function on current versions.
Fixed!Resolved in a current release.comp: zonesChange detection / zone.js / zoneless.type: bugDefect: expected behavior doesn't happen.version: current (v17+)Targets the current modular API (v17+).
Activity
google-oss-bot commentedon Feb 6, 2025
This issue does not seem to follow the issue template. Make sure you provide all the required information.
riya-amemiya commentedon Feb 6, 2025
I'll share a minimal reproduction repository once I can create one
LanderBeeuwsaert commentedon Feb 8, 2025
@riya-amemiya you're not the only one
#3592
it seems to have to do with Auth for us, but I was not able to easily create a minimal repro.
We're not using SSR
LanderBeeuwsaert commentedon Feb 10, 2025
@riya-amemiya if you would be able to make a minimal repro that would be great. I've tried but I haven't succeeded. But also the angular team requested a reproduction to be able to look into fixing this.
riya-amemiya commentedon Feb 12, 2025
@LanderBeeuwsaert
Thank you for sharing the information. While I'm not sure if I can reproduce it, I will do my best to help ensure that everyone, including myself, can update to Angular v19 without any issues.
DougieBoi227 commentedon Feb 21, 2025
I'm getting the same issue. What's weird is I don't get this error with local dev env but I do when deploy to prod (firebase hosting)
LanderBeeuwsaert commentedon Feb 24, 2025
I've been able to make a minimal reproduction:
https://github.com/LanderBeeuwsaert/notify-scheduler-issue2
riya-amemiya commentedon Feb 25, 2025
Thank you for creating a minimal reproduction repository!
Davileal commentedon May 2, 2025
Hey everyone!
After upgrading to Angular 19.1.x, zone.js 0.15.0 and @angular/fire 19.0.0, the app crashes because a small helper inside Angular is missing after the build, so when AngularFire tries to run it, the error appears:
The bug was fixed in newer patch versions.
@angular/corezone.js@angular/fireHow to fix it
npx ng update @angular/core@19 @angular/cli@19 \ @angular/fire@19 [email protected]armando-navarro commentedon Jul 22, 2026
Thanks for the report, and thanks to everyone who helped narrow it down. As @Davileal noted in the thread, the root cause is the Angular bug angular/angular#60074, where a helper was stripped during the build, and it was fixed in
@angular/core 19.2.1,zone.js 0.15.2, and@angular/fire 19.1.0. Upgrading resolves this.I'm closing as fixed, but please reopen or file a new issue if you still see
this.scheduler.notify is not a functionon current versions.