rxjs: EmptyError: no elements in sequence
问题 I am getting an error 'EmptyError: no elements in sequence' error when I go to localhost:8080. I have seen the thread Angular 5 EmptyError: no elements in sequence while making child routes but none of the answers seem to apply. I have "rxjs": "^5.5.6" and in my routes, I tried adding pathMatch: 'full', but the error is still displayed. Extract of my app-routing-module.ts const routes: Routes = [ { pathMatch: 'full', /* added recently for test purposes*/ path: '', component: RootComponent,