Błąd NG8001

// angular try to add your component to app.module.ts
import { ChatroomComponent } from './components/chatroom/chatroom.component';

@NgModule({
  declarations: [
  ChatroomComponent
  ]
Mohamed Sami khiari