Topic: Error: NG0300: Multiple components match node with tagname mat-spinner"
jbull priority asked 3 years ago
Expected behavior My application loads the main screen without error
Actual behavior When my application loads I get an error "Error: NG0300: Multiple components match node with tagname mat-spinner"
This problem started when I installed ng-uikit-pro-standard. My import in the app.module is import { MDBBootstrapModulesPro } from 'ng-uikit-pro-standard';
and then in @NgModule imports section I have MDBBootstrapModulesPro.forRoot()
I found that by removing an import to MatProgressSpinnerModule that the error goes away. Can MDB and Material UI live together in a project? It seems that there is a naming collision somewhere.
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB4 11.1.0
- Device: Computer
- Browser: Chrome, Edge
- OS: Win10
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 3 years ago
@jbull We will take a closer look at that and let you know what we found. There is a possibility that this problem is caused by a naming collision.