Я только что перенес мое приложение с угла 4 на 7, все работает нормально, но когда наступает момент компиляции (ng build --prod), я получаю эту ошибку:
ERROR in : Template parse errors:
The pipe 'number' could not be found ("
</div>
<div class="col-2">
{{ listing.currency.abbreviation[ERROR ->]() }}{{ totalCreditRequest() | number : '1.0-1' }}
<span class="status-badge {{ claims[claims"): /Users/../claims/claims.component.html@50:40
The pipe 'number' could not be found ("m.itemLot.grade }}</td>
<td class="text-center">{{ listing.currency.abbreviation() }}{{ [ERROR ->]claim.outcomeValue | number : '1.0-1' }}</td>
<td class="text-center">{{ claim.issue.name"): /Users/../claims/claims.component.html@82:76
UPDATE
Я узнал, что это не компилируется из-за этого, может кто-нибудь объяснить мне, как работает ivy и почему он не компилируется? Я изменил его на false, и теперь он работает.
"angularCompilerOptions": {
"enableIvy": true
}