Describe the bug
I'm trying to upgrade my whole application to latest version of angular.
Can't run and also build my application due to error that @swimline/ngx-charts has missing dependency : @angular/cdk/portal
To Reproduce
Steps to reproduce the behavior:
Just upgrade ngx-charts and angular to latest versions and try to run.
Screenshots

ngx-charts version
ngx-charts": "^13.0.2",
Same problem here! I tried compiling in a project with Angular CLI V 8.3.23 & ngx-charts V 13.0.2 and got following:
Module not found: Error: Can't resolve '@angular/cdk/portal' in 'C:\PATH\node_modules\@swimlane\ngx-charts\fesm2015'
Try installing the @angular/cdk package. It's a peer dependency of the project.
https://github.com/swimlane/ngx-charts/blob/master/projects/swimlane/ngx-charts/package.json#L39
witch command i have to use to upgrade
Try installing the
@angular/cdkpackage. It's a peer dependency of the project.https://github.com/swimlane/ngx-charts/blob/master/projects/swimlane/ngx-charts/package.json#L39
It worked to me. I just added this line ""@angular/cdk": "^9.2.0"," in dependencies and then write npm install
A mi me funcion con este comando. npm install @angular/cdk --save
You need to install @angular/cdk. Just run this command 'npm i @angular/cdk'
Most helpful comment
Try installing the
@angular/cdkpackage. It's a peer dependency of the project.https://github.com/swimlane/ngx-charts/blob/master/projects/swimlane/ngx-charts/package.json#L39