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
I've upgraded some npm packages and after that the Application stopped working complaining: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module... .After some crazy debug (I was NOT trying to import BrowserModule in any other Module), I made a text search in all my node_modules packages, and the only one containing a ref to BrowserModule was in ng2-bootstrap (sortable). So I changed my import from
Ng2BootstrapModule.forRoot()
to
DropdownModule.forRoot()
(for now I just used dropdows) and the problem is gone.
The text was updated successfully, but these errors were encountered:
I've upgraded some npm packages and after that the Application stopped working complaining: BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module... .After some crazy debug (I was NOT trying to import BrowserModule in any other Module), I made a text search in all my node_modules packages, and the only one containing a ref to BrowserModule was in ng2-bootstrap (sortable). So I changed my import from
Ng2BootstrapModule.forRoot()
to
DropdownModule.forRoot()
(for now I just used dropdows) and the problem is gone.
The text was updated successfully, but these errors were encountered: