Topic: MDB Onboarding module importing BrowserModule in standalone component

Simon Skinner priority asked 1 month ago


Expected behavior When I use the MDB Onboarding module in a standalone component, no error is shown

Actual behavior

When I open this component, its doesn't load and present the error:

ERROR RuntimeError: NG05100: Providers from the BrowserModule have already been loaded. If you need access to common directives such as NgIf and NgFor, import the CommonModule instead.

Resources (screenshots, code snippets etc.)


Arkadiusz Idzikowski staff answered 1 month ago


Thank you for reporting this problem. I added this to our to-do list and we will fix this problem in the next update.

This is probably caused by the BrowserAnimationsModule and I think the only workaround for now is to remove this declaration when you import the onboarding module.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 7.0.0
  • Device: MSI Katan
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: Yes
  • Provided link: No