Reputation: 42270
When I run ng build --target=production
I get the following error:
ERROR in C:/Repo/NewCo/src/$$_gendir/app/fu/bar/fubar.component.ngfactory.ts (4011,35): Supplied parameters do not match any signature of call target.
I don't even know where to start with this...It would be useful if ng build
gave me a little more insight into:
Can anyone explain how I can identify any of the above?
Upvotes: 0
Views: 353
Reputation: 19288
You are probably calling a method from your template which shouldn't (or should) have parameters.
Something like this:
*ngIf="shouldShow()"
shouldShow(show: boolean){//do some}
As you can see these the supplied parameters do not match any signature of call target.
Upvotes: 2