nebular icon indicating copy to clipboard operation
nebular copied to clipboard

NullInjectorError when using NbChatModule in Angular 17 with Nebular 13 (standalone components angular)

Open artamrj opened this issue 1 year ago • 1 comments

Issue type

I'm submitting a ... (check one with "x")

  • [x] bug report
  • [ ] feature request

Issue description

Current behavior:

When trying to implement NbChatModule in Angular 17 with Nebular 13, a NullInjectorError is thrown, specifically mentioning a missing provider for _NbStatusService.

Expected behavior:

The NbChatModule should integrate seamlessly with Angular 17, without encountering any dependency injection errors.

Steps to reproduce:

  1. Create a new Angular 17 project.
  2. Install Nebular 13 and import NbChatModule in a component.
  3. Attempt to use NbChatModule in the component and observe the NullInjectorError.

Related code:

import { Component } from '@angular/core';
import { NbChatModule } from '@nebular/theme';

@Component({
selector: 'app-chat-bot',
standalone: true,
imports: [NbChatModule],
templateUrl: './chat-bot.component.html',
styleUrl: './chat-bot.component.scss'
})
export class ChatBotComponent {

}

image

artamrj avatar May 13 '24 13:05 artamrj

facing same issue.

abhishek-syno avatar May 23 '24 13:05 abhishek-syno