I have custom pipes that works fine in ‘ionic serve’ but when I try to build the app it throw this error:
Error at myApp/.tmp/pages/messages/messages.ngfactory.ts:805:73: Supplied parameters do not match any signature of call target.
2 Likes
+1 same problem with it
It seems in prod mode that it is a little more strict, and since you often call a pipe without using arguments it fails because you’re only supplying one argument to the pipe.
Modify your pipes to use this format:
transform(value, args?)
This makes the args parameter optional, so it shouldn’t trigger an error.
2 Likes
Thanks, that solved the problem