ng-mat-select-infinite-scroll icon indicating copy to clipboard operation
ng-mat-select-infinite-scroll copied to clipboard

version 4.0.0 doesn't work with Angular 12.

Open pe2mbs opened this issue 1 year ago • 0 comments

Hi there,

When i put the module into my project i get the error below. When i downgrade to 3.0.0 the error disapears, but then the scrolling doesn't work.

Is there some compatibility issue here ? or is there something that i'm doing wrong?.

TypeError: Cannot create property 'message' on string 'c:\src\angular\new-frontend-v12\node_modules\ng-mat-select-infinite-scroll\fesm2015\ng-mat-select-infinite-scroll.mjs: This application depends upon a library published using Angular version 14.1.3, which requires Angular version 14.0.0 or newer to work correctly. Consider upgrading your application to use a more recent version of Angular. 70 | } 71 | MatSelectInfiniteScrollDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MatSelectInfiniteScrollDirective, deps: [{ token: i1.MatSelect }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });

72 | MatSelectInfiniteScrollDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: MatSelectInfiniteScrollDirective, selector: "[msInfiniteScroll]", inputs: { threshold: "threshold", debounceTime: "debounceTime", complete: "complete" }, outputs: { infiniteScroll: "infiniteScroll" }, ngImport: i0 }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 73 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: MatSelectInfiniteScrollDirective, decorators: [{ 74 | type: Directive, 75 | args: [{' at run (c:\src\angular\new-frontend-v12\node_modules@babel\core\lib\transformation\index.js:37:15) at run.next () at Function.transform (c:\src\angular\new-frontend-v12\node_modules@babel\core\lib\transform.js:25:41) at transform.next () at step (c:\src\angular\new-frontend-v12\node_modules\gensync\index.js:261:32) at c:\src\angular\new-frontend-v12\node_modules\gensync\index.js:273:13 at async.call.result.err.err (c:\src\angular\new-frontend-v12\node_modules\gensync\index.js:223:11) at c:\src\angular\new-frontend-v12\node_modules\gensync\index.js:37:40

pe2mbs avatar Nov 07 '23 16:11 pe2mbs