Answers for "Error: NullInjectorError: No provider for HttpProjectService!"

9

NullInjectorError: No provider for HttpClient!

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

NullInjectorError: No provider for HttpHandler!

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

@NgModule({
 imports: [
   BrowserModule,
   HttpClientModule
 ],
 ...
Posted by: Guest on June-04-2020

Code answers related to "Error: NullInjectorError: No provider for HttpProjectService!"

Code answers related to "Javascript"

Browse Popular Code Answers by Language