Can't resolve all parameters for: signalr package


#1

Hi guys! I have a problem with Dependency Injection, only for this package:
SignalR for ASP.NET Core and Angular

I got this error when I add the package to providers:

Can't resolve all parameters for HubConnection: (?, ?).

Here is my code in app.module.ts:

import { HubConnection } from '@aspnet/signalr';

@NgModule({
  declarations: [
    ...
  ],
  imports: [
    ...
  ],
  entryComponents: [
    ...
  ],
  providers: [
    ........
    HubConnection
  ]
})
export class AppModule {}