ERROR NullInjectorError: R3InjectorError(AppModule)[AuthService -> HttpClient -> HttpClient -> HttpClient]: code example
Example: NullInjectorError: R3InjectorError HttpClient
// missing import on app.module.ts
import { HttpClientModule } from '@angular/common/http';
@NgModule({
imports: [
HttpClientModule
]