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
I had a similar error message, which appears to be caused by version 8 modules being used with Angular 7. The solution for me was to go through package.json looking for version 8 modules (in my case, @angular/cdk and @angular/material), changing them to the most recent version 7 modules, and then re-running npm i