You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please remove also BrowserAnimationModule import from the library, I use the lazy loading module as well as for the issue #28
and I can't remove BrowserAnimationModule.
Import BrowserModule, BrowserAnimationsModule, HttpModule or HttpClientModule only once, preferably in your root module.
ERROR
Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
The text was updated successfully, but these errors were encountered:
ISSUE
Please remove also
BrowserAnimationModule
import from the library, I use the lazy loading module as well as for the issue #28and I can't remove BrowserAnimationModule.
This stackoverflow thread is a typical use case.
https://stackoverflow.com/questions/45975675/lazy-loading-browsermodule-has-already-been-loaded
Import
BrowserModule
,BrowserAnimationsModule
,HttpModule
orHttpClientModule
only once, preferably in your root module.ERROR
Uncaught (in promise): Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
Error: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.
The text was updated successfully, but these errors were encountered: