MDB Onboarding module importing BrowserModule in standalone


Topic: MDB Onboarding module importing BrowserModule in standalone component

Simon Skinner pro premium priority asked 1 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 4 weeks 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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 7.0.0
  • Device: MSI Katan
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No