How to debug Firebase error in Angular app that is missing a full stacktrace?

Discussão em 'Angular' iniciado por okhobb, Junho 19, 2025.

  1. okhobb

    okhobb Guest

    I'm incurring the following error in my Angular + Firebase app:

    ERROR FirebaseError: Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore


    The stacktrace in Chrome is a single line:

    handleError @ root_effect_scheduler-CWV89N3_.mjs:3517


    How can I get a better stacktrace? This is after I've finally upgraded an old project that was on Firebase v8 to v9 which had some substantial changes as any Firebase user is I'm sure aware.

    Continue reading...

Compartilhe esta Página