-
Notifications
You must be signed in to change notification settings - Fork 93
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
AOT fail #216
Comments
thx. will be fixed and will be in the release tomorrow... |
please do it :) I'm one step to have AOT ready just waiting you guys :) |
nice! i knew this is hard :) |
Sorry guys but mine was just an example there really a lot of them |
right now i have no idea how i could test that i do not miss any aot problems. do you have a list? i have only checked the properties with HostBinding.. |
what is your env? angular-cli? which version? angular2 version? |
The version is 2.1.2 what I did is including in my app the materialModule. Not using the cli but my environment and unfortunately I don't have the list atm. I can try to do tomorrow morning but the rule is super easy. Everything that you declare in your class and will be used in your template have to be public |
a list would be great! also i would appreciate to see how you setup your project - i have a test project for cli that didn't had these problems with angular@2.1.2... |
please check against version 2.4.3. the list is hopefully empty or even smaller... |
hey thanks a lot unfortunately there're still private var around. |
👍 |
I'm using angular2-mdl 2.6.0 and compiling AOT with angular-webpack2-starter. I'm receiving numerous private property errors and also numerous "Supplied parameters do not match any signature of call target." errors. You can find my list at http://pastebin.com/zuMp8PEh. I'm a bit of a coding novice, but if you have questions I'll answer as best I can. Also, since I'm still early on in my development I was able to remove all angular2-mdl references and rebuild and it does in fact behave as expected without angular2-mdl. |
afaik angular-webpack2-starter did not support aot: PatrickJS/PatrickJS-starter#885 |
Show what a n00b I am. Apparently I'm using this repo fork and didn't realize it was a fork. |
Hi I'm trying to compile in Aot mode but it fail for that reason:
I'm using 2.4.1
This is just an example but actually most of them fail.
The reason is that: things that the template accesses from the component must be public
The text was updated successfully, but these errors were encountered: