stream-chat-angular cannot be used with @ngx-translate/core v18. The peer dependency is still pinned to ^17.0.0, and the library imports TranslateModule, which v18 removed. Building an app on ngx-translate v18 fails at bundling.
Build error
✘ [ERROR] No matching export in
"node_modules/@ngx-translate/core/fesm2022/ngx-translate-core.mjs" for import "TranslateModule"
node_modules/stream-chat-angular/fesm2022/stream-chat-angular.mjs:8:9:
8 │ import { TranslateModule } from '@ngx-translate/core';
Root cause
ngx-translate v18 removed the TranslateModule NgModule. The pipe and directive are now standalone and exported directly as TranslatePipe and TranslateDirective (see the v18 release notes / migration guide).
Version
- stream-chat-angular: 7.1.5
- @ngx-translate/core: 18.0.0
- @angular/core: 21
stream-chat-angularcannot be used with@ngx-translate/corev18. The peer dependency is still pinned to^17.0.0, and the library importsTranslateModule, which v18 removed. Building an app on ngx-translate v18 fails at bundling.Build error
Root cause
ngx-translate v18 removed the
TranslateModuleNgModule. The pipe and directive are now standalone and exported directly asTranslatePipeandTranslateDirective(see the v18 release notes / migration guide).Version