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
exports not found in library for angular-cli AOT #126
Comments
You MUST export all of you export in your ngModule. To give us a better view of your problem, please provide a demo or repo url 👍 |
@brentchow — Is it possible to share your code? @xxxTonixxx — Thank you for your help, much appreciated! 👍 |
Hi, |
I am experiencing a similar problem, with a somewhat arbitrary feel to it: In my library several interfaces/types are defined in separate files in a Only one of the interfaces ( /**
* Interface to describe a conventional margin e.g. to place
* axes around a rendered object.
*/
export interface Margin {
top: number;
right: number;
bottom: number;
left: number;
} is causing the warning stated above in an angular-cli-based application, which uses the library through All other interfaces/types do not throw the warning, although I do not see any structural difference in how they are included/re-exported. |
@brentchow — Can you please try @sebastianteres' suggestions at #127 (comment) to see if they fix your errors? Thanks! |
Hi, sorry this took a while to get back to. Exporting ALL services worked as @xxxTonixxx said and as mentioned in the comment @jvandemo referenced (#127 (comment)). I'll close this issue. Thanks all! |
@brentchow — Thank you for the update! |
Hi there! Looking for some help.
When combining a library with
@angular/cli@1.0.0
and AOT, I get an error saying that exports from my Library are not being found.I run the command:
And get a response to:
PS great generator! Thanks a ton for this!
The text was updated successfully, but these errors were encountered: