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
The reason of behind this, your current angularCLI version and you're current angular/material version & angular/CDK version. Please check it.
like: Angular CLI version (7.4) and angular/material version(8.1).....so both are not the same path.
change your angular/material version & angular/cdk version in package.json file.
Example:- "@angular/material": "7.2.1", "@angular/cdk": "7.2.1", in package.json file.
After that run this command = npm install