Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
artamrj opened this issue May 13, 2024 · 1 comment

Comments

@artamrj
Copy link

artamrj commented May 13, 2024

Issue type

I'm submitting a ... (check one with "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

@abhishek-syno
Copy link

facing same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants