title: ERROR Error: StaticInjectorError(AppModule)[UserformService -> HttpClient]:
body: <p>While trying to add a PrimeNG table I broke my build here: <a href="https://github.com/BillyCharter87/Tech-O-Dex-UI/tree/BrokeIt" rel="noreferrer">https://github.com/BillyCharter87/Tech-O-Dex-UI/tree/BrokeIt</a></p>
  
  <p>I recall updating my <code>package.json</code> from TypeScript 2.3.4 to 2.4.0 and it broke due to (I think) the fact that I was using <code>Headers</code> and <code>Http</code> for my POST call. I tried setting it back to 2.3.4 to no avail. I have fixed what I could by adding in:</p>
  
  <pre><code>import { HttpClient, HttpHeaders } from "@angular/common/http";
  </code></pre>
  
  <p>but still running into the Error I have now for the <code>HttpClient</code>. I have tried importing <code>HttpClient</code> into the providers like so: <code>providers: [HttpClient]</code> for my app.module.ts.</p>
  
  <p>The full error is as follows: </p>
  
  <pre><code>AppComponent.html:9 ERROR Error: StaticInjectorError(AppModule)[HttpClient -&gt; HttpHandler]: 
  StaticInjectorError(Platform: core)[HttpClient -&gt; HttpHandler]: 
  NullInjectorError: No provider for HttpHandler!
  </code></pre>