-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
dropdown.ngfactory missing / AOT bug #953
Comments
@JohannesRudolph I can't seem to reproduce based on the info given (please note that we do have another bug in the AoT support (details in #959) but it is not what you are reporting... On top of this I don't see
Could you please put together a minimal repository that would illustrate the problem? Otherwise it is hard to progress on that one... |
@pkozlowski-opensource Thanks for your great work. I think you mixed up I got the same error message today when I tried angular-cli so I created a repository to illustrate the problem: https://github.com/sgybas/ng-bootstrap-953 |
awesome work @sgybas To determine whether this is a bug in angular-cli or ng-bootstrap it would help to know whether others have successfully used ng-bootstrap with AOT before (and in particular the dropdown). Depending on that outcome, we should file the issue over at angular-cli. |
@sgybas thnx for the reproduce. I think that what you are guys hitting is a bug in ng itself that was just fixed via a838aba756df510daa3899f73c3732ef4fc571f2. Let's wait for the next ng release (it should be released today). |
Dropdown factory also missing in my aot builds... Angular 2.1.1 Both the Datepicker and Dropdown modules fail:
|
I was able to reproduce with Angular 2.1.1 using https://github.com/pkozlowski-opensource/ng-bootstrap-aot There is a mix of Angular bugs that we can work-around as well as few things that we've messed up... Sent #973 to fix both... |
Bug description:
I've tried to create an AOT build using angular-cli and ng-bootstrap. However, there appears to be an issue during AOT compilation generating an ngfactory for the dropdown component (see below).
Is anyone else able to AOT build with ng-bootstrap?
Link to minimally-working plunker that reproduces the issue:
Not applicable
Version of Angular, ng-bootstrap, and Bootstrap:
Angular: 2.1
ng-bootstrap: 1.0.0-alpha.9
Bootstrap: 4.0.0-alpha.5
angular-cli: 1.0.0-beta.18
The text was updated successfully, but these errors were encountered: