Angular rc1: EXCLUSION: Error: not visible (in promise): cannot find default output

I really need to paste the source code here, but I don’t know how much of these 300 lines in my component should I show you.

Perhaps the error message “EXCEPTION: Error: not shown (in the promise): Cannot find the default output” has a general solution? Am I missing a parameter or tag?

+4
source share
2 answers
  • add <router-outlet>where the router is waiting for it; -)
  • , ROUTER_PROVIDERS ( bootstrap())
  • *ngIf* <router-outlet> <router-outlet>

. https://github.com/angular/angular/issues/8539

+12

:

, ,

directives: [ROUTER_DIRECTIVES],

, .

+3

All Articles