Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDB Onboarding module importing BrowserModule in standalone component

Simon Skinner priority asked 2 months 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 2 months 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