DEV Community

Discussion on: Angular: When HttpInterceptor doesn’t work with lazy loaded modules

javarome profile image
Jérôme Beau

Thanks for this analysis Abou, this helped.

I had that problem too, but not caused by third-party modules. So I could solve by making sure that HttpClientModule is imported only once, in the AppModule (above/before the the lazy-loaded ones).