PrimeNG ConfirmationService и ошибка MessageService
Ошибка: node_modules / primeng / api / messageservice.d.ts:3:22 - ошибка NG6002: появляется в NgModule.imports AppModule, но не может быть преобразована в класс NgModule.
This likely means that the library (primeng/api) which declares MessageService has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
3 export declare class MessageService {
~~~~~~~~~~~~~~
node_modules/primeng/api/confirmationservice.d.ts:3:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
This likely means that the library (primeng/api) which declares ConfirmationService has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see
если ожидается, что библиотека будет совместима с Ivy.
3 export declare class ConfirmationService {
не могли бы вы помочь мне и спасибо ~~~~~~~~~~~~~~~~~~~