The target entry-point "@angular/material/dialog" has missing dependencies code example
Example: Cannot find module '@angular/cdk/a11y'
npm install --save @angular/material @angular/cdk
npm install --save @angular/material @angular/cdk