Ionic build fails Supplied parameters do not match any signature of call target

Hello all

I get the error when I try to use ionic build ios.

Looking at root.ngfactory.ts, there is a function with a parameter that I didn’t set.

Any idea? thanks.

Problem solved!

Not sure which one was the solution because I played with a lot of things, but now seems to work!

I do not understand why ionic serve did’t get it.