Topic: I have a problem withe my new installation of mdbootstrap

if5.mdba free asked 5 years ago


Expected behavior loading the app

Actual behavior errors ERROR 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.

Resources (screenshots, code snippets etc.)


Arkadiusz Idzikowski staff answered 5 years ago


This problem is caused by StickyHeaderModule. As a workaround you can import only the modules you need instead of whole MDBBootstrapModule or use version 7.4.4 until we fix that. You can find list of all available modules here:

https://mdbootstrap.com/docs/angular/getting-started/modules/



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.0
  • Device: laptop
  • Browser: chrome
  • OS: windows 10
  • Provided sample code: No
  • Provided link: No