Answers for "NullInjectorError: R3InjectorError(AppModule)[HttpClient -> HttpClient -> HttpClient]:"

9

NullInjectorError: No provider for HttpClient!

@NgModule({
...
imports:[ HttpClientModule ]
...
})
Posted by: Guest on May-31-2020
0

NullInjectorError: R3InjectorError HttpClient

// missing import on app.module.ts

import { HttpClientModule } from '@angular/common/http';

@NgModule({
  imports: [
  	HttpClientModule
  ]
Posted by: Guest on February-19-2021

Code answers related to "NullInjectorError: R3InjectorError(AppModule)[HttpClient -> HttpClient -> HttpClient]:"

Code answers related to "Javascript"

Browse Popular Code Answers by Language