I\'ve installed Material for angular,
I\'ve imported on my app module MatIconModule (with import { MatIconModule } from \'@angular/material/icon\';)
import { MatIconModule } from \'@angular/material/icon\';
In my case, the icon name I wrote wasn't associated to any icon.
You can check the correct names here: https://material.io/tools/icons/?style=baseline