Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 4.0.0 doesn't work with Angular 12. #52

Open
pe2mbs opened this issue Nov 7, 2023 · 0 comments
Open

version 4.0.0 doesn't work with Angular 12. #52

pe2mbs opened this issue Nov 7, 2023 · 0 comments

Comments

@pe2mbs
Copy link

pe2mbs commented Nov 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant