Uncaught TypeError: Class constructor Platform cannot be invoked without 'new'

Discussão em 'Angular' iniciado por Haagii95 Tugs, Dezembro 8, 2024.

  1. I've installed the Angular CDK in order to use PrimeNG's dropdown component but it throws an error.

    I've added this in my app.module.ts:

    import {DropdownModule} from 'primeng/dropdown';


    And installed the Angular CDK by simply typing in the following:

    npm install @angular/cdk --save

    Continue reading...

Compartilhe esta Página