With Angular 18.2.8 the installation of [email protected] (currently latest) still fails. But I was able to install it successfully by using the latest @18 verion of PrimeNG.
npm install [email protected]