ngx-material-keyboard / core

Onscreen virtual keyboard for Angular ≥ 5 (https://angular.io/) using Angular Material (https://material.angular.io/).
https://ngx-material-keyboard.github.io/core/
98 stars 120 forks source link

angular/cdk/portal has not BasePortalOutlet #40

Closed Tora-Bora closed 6 years ago

Tora-Bora commented 6 years ago

Hi, I have an error, while ng build: ERROR in node_modules/@ngx-material-keyboard/core/components/keyboard-container/keyboard-container.component.d.ts(2,10): error TS2305: Module '"D:/AngularInterface/node_modules/@angular/cdk/portal"' has no exported member 'BasePortalOutlet'.

davidenke commented 6 years ago

Hi, could you provide steps to reproduce, or a plunkr?

jderboven commented 6 years ago

Had the same issue and as far as I can see, the package seems to be angular 5 only so if your app is in angular 4 or lower than 5, it won't work

davidenke commented 6 years ago

Right, that should produce warning on npm install, see peer dependencies

jderboven commented 6 years ago

Any chance it gets ported to ng4 ?

davidenke commented 6 years ago

Basically it's not the Angular version in the first place. The CDK has to support it and related to that version you maybe can use Angular 4. But the Material and CDK modules have just been relased stable and I don't think it would be useful to provide support downwards to beta or rc releases.