Kesalahan Kesalahan: Uncaught (In Promise): nullinjectorerror: r3Injectorerror (authmodule) [AuthService -> AuthService -> AngularFirestore -> InjectionToken

//You need to import the old module as a work around, "AngularFireModule.initializeApp(environment.firebase)"


//Example:
import {AngularFireModule} from '@angular/fire/compat'


@NgModule({
  declarations: [
  ...
  ],
  imports: [
    ...
    AngularFireModule.initializeApp(environment.firebase), // here you will put firbase config object
  ],
  providers : [
   ..
  ]
})
export class AuthModule { }
Singh99