Lazy Loading BrowserModule has already been loaded
Solution 1:
Import BrowserModule,
BrowserAnimationsModule
, HttpModule
or HttpClientModule
only once, preferably in your root module.
Solution 2:
I also got the same error and finally, after little bit struggle, I was able to fix it.
Import these mentioned modules only once(in app-module only):
BrowserModule, BrowserAnimationsModule, LazyLoadImageModule (if using it), CarouselModule (if using it), InfiniteScrollModule (if using it), HttpModule ( if using it)