I am getting the following error :
platform.es5.js:79 Uncaught TypeError: Object(...) is not a function at eval (platform.es5.js:79) at eval (platform.es
You can't use @angular/material and @angular/cdk version 6.1.0 since your angular dependencies is still at 5.2.0
@angular/material
@angular/cdk
download the version 5.2.0
npm install @angular/material@5.2.0
And also keep your angular dependencies on a same version, your @angular/animations is at 5.2.11 where it should be 5.2.0
@angular/animations