I found that this could be a missing or wrong injection parameters.
As you can see in the constructor the router parameter is missing, but Aurelia is trying to inject the router anyway :-)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inject(CustomService, Router) | |
export class AppState { | |
private router: Router; | |
private customService: CustomService; | |
constructor(customService: CustomService) { | |
this.customService= customService; | |
} |
Comments
Post a Comment