According to their documentation, Angular v18+ requires PrimeFlex 4.x.x+
https://primeflex.org/installation