Hamed Ali Khan
Hamed Ali Khan

Reputation: 1118

ngx-order-pipe fails to build in angular 16

I just did import { OrderModule } from 'ngx-order-pipe'; in app.module.ts and added it in imports

  imports: [BrowserModule, OrderModule,...],

and when I did ng serve, I am getting below failed to compile error enter image description here

Upvotes: 0

Views: 1213

Answers (2)

Riasat Mehmood
Riasat Mehmood

Reputation: 11

The owner of this library has upgraded the package to make it compatible with the latest angular engine. Now we can use its 3.0 version with the latest angular versions. They modified it according to Ivy compilers. https://github.com/VadimDez/ngx-order-pipe/releases/tag/3.0.0

Upvotes: 1

Matthieu Riegler
Matthieu Riegler

Reputation: 55534

ngx-order-pipe is not built for Ivy (see this issue).

Angular v16 has dropped the support for non-ivy libs.

Upvotes: 3

Related Questions