-
Notifications
You must be signed in to change notification settings - Fork 18
Getting compiler error while building app with ng build -prod #6
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
Comments
I am having the same issue |
me too |
Please help me. I am having the sample issue! |
me too |
1 similar comment
me too |
me too!! any one got any solution ?? |
try this: ng build --prod --aot=false |
@WillAcon Thanks for the help... it works perfectly as i desired but there is a small problem. Can you tell me that is there any way (like setting any variable in configuration) where i can set configuration for setting "AOT" to false ? |
@WillAcon ng build --prod --aot=false it works fine but '--aot=false' increase our file size .. do u have any solution to reduce the size of file Thanks |
ERROR in Error encountered resolving symbol values statically. Calling function 'ControlValueAccessorProviderFactory', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol DatePicker in /Users/munirajselvam/projects/muniraj/employeetimesheet/app/web/app/agency/node_modules/angular-io-datepicker/src/datepicker/datePicker.d.ts, resolving symbol DatePicker in /Users/munirajselvam/projects/muniraj/employeetimesheet/app/web/app/agency/node_modules/angular-io-datepicker/src/datepicker/datePicker.d.ts |
Hi, I am using datepicker in my app and it works fine with ng build but fails with ng build -prod. I googled and it looks like AOT compiler issue with ControlValueAccessorProviderFactory
angular/angular-cli#4956
Here is error log:
The text was updated successfully, but these errors were encountered: