Error: Module not found: Error: Can't resolve '@angular/cdk/scrolling'
Using npm install @angular/cdk --save
would resolve this.
It needs it because the p-table
uses the p-paginator
which uses p-dropdown
, which this needs the cdk.
You can check it here:
- Table: https://github.com/primefaces/primeng/blob/7.1.0/src/app/components/table/table.ts
- Paginator: https://github.com/primefaces/primeng/blob/7.1.0/src/app/components/paginator/paginator.ts
- Dropdown: https://github.com/primefaces/primeng/blob/7.1.0/src/app/components/dropdown/dropdown.ts