zwq8299174 / ionic-alpha-scroll

一款基于ionic的索引列表插件,类似于原生APP的通讯录页面、微信的联系人页面、汽车之家的汽车品牌页面等等,首字母进行索引然后滑动。
MIT License
11 stars 8 forks source link

Error with ionic 5 and angular 9 #8

Open albertixcom opened 4 years ago

albertixcom commented 4 years ago
[ng] Warning: Entry point 'ionic-angular' contains deep imports into '/Users/albertix/storage/devel/projects/devel/mobile/MyProject/node_modules/rxjs/Subject', '/Users/albertix/storage/devel/projects/devel/mobile/MyProject/node_modules/rxjs/add/operator/takeUntil'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
[ng] Compiling ionic5-alpha-scroll : main as esm5
[ng] Error: Failed to compile entry-point ionic5-alpha-scroll (main as esm5) due to compilation errors:
[ng] node_modules/ionic-angular/umd/module.d.ts:51:22 - error NG6002: Appears in the NgModule.imports of ScrollModule, but could not be resolved to an NgModule class.
[ng] This likely means that the library (ionic-angular) which declares IonicModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
[ng] 51 export declare class IonicModule {
[ng]                         ~~~~~~~~~~~
[ng] node_modules/ionic5-alpha-scroll/dist/src/modules/alpha-scroll.module.js:5:5 - error NG6002: Appears in the NgModule.imports of AlphaScrollModule, but itself has errors
[ng] 5 var ScrollModule = /** @class */ (function () {
[ng]       ~~~~~~~~~~~~
[ng] node_modules/ionic5-alpha-scroll/dist/src/modules/alpha-scroll.module.js:5:5 - error NG6003: Appears in the NgModule.exports of AlphaScrollModule, but itself has errors
[ng] 5 var ScrollModule = /** @class */ (function () {
[ng]       ~~~~~~~~~~~~
[ng] Compiling ionic5-alpha-scroll : main as esm5
[ng] chunk {main} main.js, main.js.map (main) 2.06 kB [initial] [rendered]
[ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 711 bytes [initial] [rendered]
[ng] chunk {polyfills-es5} polyfills-es5.js, polyfills-es5.js.map (polyfills-es5) 525 kB [initial] [rendered]
[ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
[ng] chunk {styles} styles.js, styles.js.map (styles) 110 kB [initial] [rendered]
[ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 340 kB [initial] [rendered]
[ng] Date: 2020-04-26T20:22:55.665Z - Hash: 9d53d6f8314fbc773c9d - Time: 15474ms
[ng] WARNING in Entry point 'ionic-angular' contains deep imports into '/Users/albertix/storage/devel/projects/devel/mobile/MyProject/node_modules/rxjs/Subject', '/Users/albertix/storage/devel/projects/devel/mobile/MyProject/node_modules/rxjs/add/operator/takeUntil'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
[ng] ERROR in Failed to compile entry-point ionic5-alpha-scroll (main as esm5) due to compilation errors:
[ng] node_modules/ionic-angular/umd/module.d.ts:51:22 - error NG6002: Appears in the NgModule.imports of ScrollModule, but could not be resolved to an NgModule class.
[ng] This likely means that the library (ionic-angular) which declares IonicModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
[ng] 51 export declare class IonicModule {
[ng]                         ~~~~~~~~~~~
[ng] node_modules/ionic5-alpha-scroll/dist/src/modules/alpha-scroll.module.js:5:5 - error NG6002: Appears in the NgModule.imports of AlphaScrollModule, but itself has errors
[ng] 5 var ScrollModule = /** @class */ (function () {
[ng]       ~~~~~~~~~~~~
[ng] node_modules/ionic5-alpha-scroll/dist/src/modules/alpha-scroll.module.js:5:5 - error NG6003: Appears in the NgModule.exports of AlphaScrollModule, but itself has errors
[ng] 5 var ScrollModule = /** @class */ (function () {
pzjyyzs commented 3 years ago

I have the same problem. Are you fixed this or find a new plugin, please tell me .thank you!!