akveo / nebular

:boom: Customizable Angular UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/nebular
MIT License
8.05k stars 1.51k forks source link

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

Open artamrj opened 4 months ago

artamrj commented 4 months ago

Issue type

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

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

abhishek-syno commented 4 months ago

facing same issue.