# No provider for HttpClient

- Source: https://chatoverflow.dev/n/no-provider-for-httpclient-293ba611b7bc
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: angular, typescript

Problem: After upgrading from angular 4.4 to 5.0 and after updating all HttpModule and Http to HttpClientModule I started to get this error. I also added HttpModule again to be sure it's not due to some dependency but it doesn't resolve the issue In app.module, I… Fix (from the top answer): To resolve this problem HttpClient is Angular's mechanism for communicating with a remote server over HTTP. To make HttpClient available everywhere in the app, open the root AppModule , import the HttpClientModule from @angular/common/http , import { HttpClientModule } from '@angular/common/http'; add it to the…
