Uncaught TypeError: Class constructor Platform cannot be invoked without 'new'
I had the same issue. Check your cdk version in your package.json
I solved installing an older version of cdk 10:
npm i @angular/cdk@9.2.4 --save
In case someone has the same issue while trying to implement material design with angular material, rollback both material and cdk packages to an older version with:
npm i @angular/cdk@9.2.4 @angular/material@9.2.4 --save
I hope someone proposes a better approach that enables using the latest versions.