Prod build is failing with Directive SelectableRow, Expected 0 arguments, but got 1. #10180
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
I have added the selectableRow directive to my p-table. It is behaving as expected but when I build it with --prod it is throwing
Directive SelectableRow, Expected 0 arguments, but got 1.
so I did some digging looks like the problem is something to do with the AOT compiler as pointed out herehttps://stackoverflow.com/questions/66161266/library-production-build-failed-on-angular-11-with-expected-0-arguments-but-go
.Expected behavior
should not through any error while building with --prod flag
Angular CLI: 9.1.5
Node: 10.19.0
PrimeNG version11.3.1
Browser:
Chrome
Language:
TypeScript 3.8.3
Node (for AoT issues):
node --version
= 10.19.0The text was updated successfully, but these errors were encountered: