{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/8749","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/8749/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/8749/comments","events_url":"https://api.github.com/repos/angular/angular/issues/8749/events","html_url":"https://github.com/angular/angular/issues/8749","id":155990629,"number":8749,"title":"Component 'e' does not have route configuration","user":{"login":"ruffiem","id":1785492,"avatar_url":"https://avatars.githubusercontent.com/u/1785492?v=3","gravatar_id":"","url":"https://api.github.com/users/ruffiem","html_url":"https://github.com/ruffiem","followers_url":"https://api.github.com/users/ruffiem/followers","following_url":"https://api.github.com/users/ruffiem/following{/other_user}","gists_url":"https://api.github.com/users/ruffiem/gists{/gist_id}","starred_url":"https://api.github.com/users/ruffiem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruffiem/subscriptions","organizations_url":"https://api.github.com/users/ruffiem/orgs","repos_url":"https://api.github.com/users/ruffiem/repos","events_url":"https://api.github.com/users/ruffiem/events{/privacy}","received_events_url":"https://api.github.com/users/ruffiem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-20T15:34:17Z","updated_at":"2016-05-21T08:23:34Z","closed_at":null,"body":"Hi everyone,\r\n\r\nI can't make the new router work, I tried pretty much everything but it looks like it just won't work. I keep having this error\r\n\r\n> EXCEPTION: Error: Uncaught (in promise): Component 'e' does not have route configuration\r\n\r\n** Screenshot **\r\n![screen shot 2016-05-20 at 17 32 50](https://cloud.githubusercontent.com/assets/1785492/15433045/eb8b005e-1eb0-11e6-9bf7-483e5177add3.png)\r\n\r\n**My component**\r\n```Javascript\r\nimport { Component } from '@angular/core'\r\nimport { Routes, Router, ROUTER_DIRECTIVES } from '@angular/router'\r\n\r\nimport { User } from '../../models/user.model'\r\nimport { SearchComponent } from '../../../components/search/search.component'\r\n\r\n@Routes([\r\n  { path: '/search', component: SearchComponent }\r\n])\r\n\r\n@Component({\r\n  selector: 'sidebar',\r\n  templateUrl: './app/shared/layout/sidebar/sidebar.html',\r\n  directives: [ ROUTER_DIRECTIVES ]\r\n})\r\n\r\nexport class SidebarComponent {\r\n\r\n  constructor (private router: Router) { }\r\n\r\n  goTo(way) {\r\n    this.router.navigate([way]);\r\n  }\r\n}\r\n```\r\n\r\n**My HTML**\r\n```Html\r\n<a [routerLink]=\"['/search']\">Go</a>\r\n<button class=\"btn btn-primary\" (click)=\"goTo('/search')\">Go</button>\r\n<router-outlet></router-outlet>\r\n```\r\n\r\nAnd ROUTER_PROVIDERS is loaded in main.js...\r\n\r\nWhat am I doing wrong ?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/220765757","html_url":"https://github.com/angular/angular/issues/8749#issuecomment-220765757","issue_url":"https://api.github.com/repos/angular/angular/issues/8749","id":220765757,"user":{"login":"michalstepien","id":5837826,"avatar_url":"https://avatars.githubusercontent.com/u/5837826?v=3","gravatar_id":"","url":"https://api.github.com/users/michalstepien","html_url":"https://github.com/michalstepien","followers_url":"https://api.github.com/users/michalstepien/followers","following_url":"https://api.github.com/users/michalstepien/following{/other_user}","gists_url":"https://api.github.com/users/michalstepien/gists{/gist_id}","starred_url":"https://api.github.com/users/michalstepien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalstepien/subscriptions","organizations_url":"https://api.github.com/users/michalstepien/orgs","repos_url":"https://api.github.com/users/michalstepien/repos","events_url":"https://api.github.com/users/michalstepien/events{/privacy}","received_events_url":"https://api.github.com/users/michalstepien/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T08:23:34Z","updated_at":"2016-05-21T08:23:34Z","body":"@ruffiem ,Hi, can you provide plunkr?"}}
{"actor":{"display_login":"michalstepien"}}