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

missing exported member when building application

Open andreastauboeck opened this issue 3 years ago • 5 comments

I'm getting the following error message when building my application after adding infinite scrolling:

Error: node_modules/ng-mat-select-infinite-scroll/lib/mat-select-infinite-scroll.module.d.ts:7:21 - error TS2694: Namespa
ce '"C:/terrazo_webui/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.

7     static ɵinj: i0.ɵɵInjectorDeclaration<MatSelectInfiniteScrollModule>;
                      ~~~~~~~~~~~~~~~~~~~~~

There are some other Errors like that.

I use these versions so it should work:

"@angular/cdk": "^11.2.0",
"@angular/core": "^11.2.0",
"@angular/material": "^11.2.0",
"rxjs": "^6.6.3",

Someone experienced this issue already?

andreastauboeck avatar Jul 08 '21 07:07 andreastauboeck

Is there any update on this? I'm getting the same error, didn't find any solution

njgarcia avatar Jul 27 '21 12:07 njgarcia

Until version 2.1.1 is working without errors in the console

vagnersabadi avatar Mar 24 '22 01:03 vagnersabadi

Hello guys, Can you please share me your environment and a sample project so that I can replicate the issue.

HaidarZ avatar Mar 24 '22 09:03 HaidarZ

I changed import from: { MatSelectInfiniteScrollModule } from "ng-mat-select-infinite-scroll/lib/mat-select-infinite-scroll.module"; to: import { MatSelectInfiniteScrollModule } from "ng-mat-select-infinite-scroll";

and it worked!

simetelum avatar Mar 24 '22 10:03 simetelum

I had to go from angular 11 to 12 to fix this

jameskaye avatar Sep 06 '22 17:09 jameskaye