title: SignalR on Webpack and TypeScript: cannot find module './NodeHttpClient'
body: <p>I'm trying to set a SignalR client in an Angular app. There is Webpack which does the job. And TypeScript, of course.</p>
  
  <p>Package.json is</p>
  
  <pre><code>{
    "private": true,
    "version": "0.0.0",
    "scripts": {
      "test": "karma start ClientApp/test/karma.conf.js"
    },
    "devDependencies" " { ... }
    "dependencies": {
      "@aspnet/signalr": "^1.1.0"
    }
  }
  </code></pre>
  
  <p>The TypeScript code is:</p>
  
  <pre><code>import { HubConnectionBuilder } from '@aspnet/signalr';
  
  @Component({
      selector: 'stream-details',
      templateUrl: './stream-details.component.html'
  })
  export class StreamDetailsComponent implements OnInit {
      @Input() summary: any;
  
  constructor(private deviceService: StreamService) {
  }
  
  ngOnInit() {
  
      let connection = new HubConnectionBuilder()
          .withUrl('/streamingHub')
          .build()
  
      connection
          .start()
          .then(() =&gt; connection.stream('SubscribeToStream', 'stream123'));
  }
  }
  </code></pre>
  
  <p>When the app is running, the error is:</p>
  
  <blockquote>
    <p>NodeInvocationException: Prerendering failed because of error: Error: Cannot find module './NodeHttpClient'</p>
  </blockquote>
  
  <p>Why is not this NodeHttpClient.js file included? What do I miss?</p>