Open proreytech opened 7 years ago
I am having the same issue
me too
Please help me. I am having the sample issue!
me too
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 ? Thanks
@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
https://github.com/angular/angular-cli/issues/4956
Here is error log: