Aurelia [app-router] ReferenceError: info is not defined(…)

I found that this could be a missing or wrong injection parameters.
@inject(CustomService, Router)
export class AppState {
private router: Router;
private customService: CustomService;
constructor(customService: CustomService) {
this.customService= customService;
}
As you can see in the constructor the router parameter is missing, but Aurelia is trying to inject the router anyway :-)

Comments