mdb-icon is not a known module


Topic: mdb-icon is not a known module

Sanchez Lopez asked 9 months ago


When I try to use any component in my angular project I'm reporting some errors in console. For example:

compiler.js:2430 Uncaught Error: Template parse errors: 'mdb-icon' is not a known element: 1. If 'mdb-icon' is an Angular component, then verify that it is part of this module. 2. If 'mdb-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component

I have installed MD Boostrap vía npm install and I have not made any import in my modules according to Getting Started docs. Some extra info:

  • Angular CLI: 7.3.8
  • Node: 10.15.2
  • Angular: 7.2.13

About my angular.json styles node:

"styles": [ "src/styles.css" ],

Thanx for help!

Arkadiusz Idzikowski staff answered 9 months ago

Please take a look at our quick start guide and update your app.module and angular.json files:

Please insert min. 20 characters.


Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Angular
  • MDB Version: 7.5.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No