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

Compatibility with Angular 9? #9

Open
haleyDesignhouse opened this issue May 6, 2020 · 3 comments
Open

Compatibility with Angular 9? #9

haleyDesignhouse opened this issue May 6, 2020 · 3 comments

Comments

@haleyDesignhouse
Copy link

haleyDesignhouse commented May 6, 2020

Is this going to be compatible with Angular 9? I am trying to import it and am coming across an error which I'm assuming means it's not compatible with the latest Angular version:

ERROR in node_modules/@dabeng/ng-orgchart/lib/components/orgchart/orgchart.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AdminModule, but could not be resolved to an NgModule class.

This likely means that the library (@dabeng/ng-orgchart) which declares OrgchartModule 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.

Thanks for any information!

@erikramalho
Copy link

Hey @dabeng any chance you start working on it? Do you need any help from us?

@amahajan02
Copy link

When importing use this statement:
import { OrgchartModule } from '@dabeng/ng-orgchart';

@van9petryk
Copy link

@amahajan02 Unexpected module 'OrgchartModule' declared by the module. Please add a @Pipe/@Directive/@component annotation.

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

4 participants