ngx-tui-editor icon indicating copy to clipboard operation
ngx-tui-editor copied to clipboard

Angular 9 / Ivy issues

Open richardthombs opened this issue 4 years ago • 3 comments

Installing in a brand new Angular 9.0.6 project gives these warnings:

npm install --save ngx-tui-editor

npm WARN [email protected] requires a peer of @angular/core@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of rxjs@^5.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of zone.js@^0.8.4 but none is installed. You must install peer dependencies yourself.

Then when compiling the app:

ERROR in node_modules/ngx-tui-editor/index.d.ts:3:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.

This likely means that the library (ngx-tui-editor) which declares TuiModule 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.  
3 export declare class TuiModule {
                       ~~~~~~~~~

richardthombs avatar Mar 20 '20 12:03 richardthombs

Having the same issue here. It would be really nice if this project could get an Angular 9 / Ivy Update!

JensUweB avatar Apr 15 '20 06:04 JensUweB

@richardthombs @JensUweB I forked this project as the maintainer seems to have lost interest.

You can find it here https://www.npmjs.com/package/ngx-tui and here https://github.com/beeman/ngx-tui .

It's very likely to still have rough edges but I do plan to maintain and use ngx-tui so feel fee to give it a try and tell me what's missing!

beeman avatar Jul 04 '20 10:07 beeman

Thanks a ton @beeman, added a link in the readme to your repository 👍

tylernhoward avatar Aug 12 '20 20:08 tylernhoward