I am following this fundamental tutorial on Angular about Http.
As one can see in the \"Setup: Installing the module\" section, they import the HttpClientModule as f
Beware of auto imports. my HTTP_INTERCEPTORS was auto imported like this:
import { HTTP_INTERCEPTORS } from '@angular/common/http/src/interceptor';
instead of
import { HTTP_INTERCEPTORS } from '@angular/common/http';
which caused this error