Skip to content

this.scheduler.notify is not a function in Angular Fire with Angular 19.1.4 #3618

Closed

Description

@riya-amemiya

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
  • Application is running with SSR enabled
  • Error only appears on client-side, not during SSR

core.mjs:6165:28
cleanupTask (rxjs-interop.mjs:281:17)
SafeSubscriber.next (Subscriber.js:31:18)
executeSchedule.js:3:9
angular-fire.mjs:72:26

Activity

  1. google-oss-bot commented on Feb 6, 2025

    @google-oss-bot

    This issue does not seem to follow the issue template. Make sure you provide all the required information.

  2. riya-amemiya commented on Feb 6, 2025

    @riya-amemiya
    Author

    I'll share a minimal reproduction repository once I can create one

  3. LanderBeeuwsaert commented on Feb 8, 2025

    @LanderBeeuwsaert

    @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

  4. LanderBeeuwsaert commented on Feb 10, 2025

    @LanderBeeuwsaert

    @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.

  5. riya-amemiya commented on Feb 12, 2025

    @riya-amemiya
    Author

    @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.

  6. DougieBoi227 commented on Feb 21, 2025

    @DougieBoi227

    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)

  7. LanderBeeuwsaert commented on Feb 24, 2025

    @LanderBeeuwsaert
  8. riya-amemiya commented on Feb 25, 2025

    @riya-amemiya
    Author

    Thank you for creating a minimal reproduction repository!

  9. Davileal commented on May 2, 2025

    @Davileal

    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:

    this.scheduler.notify is not a function
    

    The bug was fixed in newer patch versions.

    Package Install at least
    @angular/core 19.2.1 (or any 20.x)
    zone.js 0.15.2
    @angular/fire 19.1.0

    How to fix it

    1. Delete old installs
    rm -rf node_modules package-lock.json pnpm-lock.yaml yarn.lock
    1. Update the packages
     npx ng update @angular/core@19 @angular/cli@19 \
                  @angular/fire@19 [email protected]
  10. added
    Fixed!
    comp: zones
    on Jul 22, 2026
  11. armando-navarro commented on Jul 22, 2026

    @armando-navarro
    Collaborator

    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.

  12. added
    type: bug
    version: current (v17+)
    on Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed!comp: zonestype: bugversion: current (v17+)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions