{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/11162","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/11162/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/11162/comments","events_url":"https://api.github.com/repos/angular/angular/issues/11162/events","html_url":"https://github.com/angular/angular/issues/11162","id":173990381,"number":11162,"title":"migration RC4 -> RC5 troubleshooting","user":{"login":"kosiakMD","id":4552929,"avatar_url":"https://avatars.githubusercontent.com/u/4552929?v=3","gravatar_id":"","url":"https://api.github.com/users/kosiakMD","html_url":"https://github.com/kosiakMD","followers_url":"https://api.github.com/users/kosiakMD/followers","following_url":"https://api.github.com/users/kosiakMD/following{/other_user}","gists_url":"https://api.github.com/users/kosiakMD/gists{/gist_id}","starred_url":"https://api.github.com/users/kosiakMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosiakMD/subscriptions","organizations_url":"https://api.github.com/users/kosiakMD/orgs","repos_url":"https://api.github.com/users/kosiakMD/repos","events_url":"https://api.github.com/users/kosiakMD/events{/privacy}","received_events_url":"https://api.github.com/users/kosiakMD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-30T11:03:40Z","updated_at":"2016-08-30T12:20:08Z","closed_at":"2016-08-30T12:13:04Z","body":"**main.ts:**\r\n`import { bootstrap } from '@angular/platform-browser-dynamic';`\r\n`import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';`\r\n`import { AppModule } from './app.module';`\r\n`import { disableDeprecatedForms, provideForms } from '@angular/forms';`\r\n`platformBrowserDynamic().bootstrapModule(AppModule);`\r\n\r\n**app.module.ts**\r\n`\r\n\r\n> import { NgModule }      from '@angular/core';\r\n> import { BrowserModule } from '@angular/platform-browser';\r\n> \r\n> import { RouterModule }  from '@angular/router';\r\n> \r\n> import {AppComponent}    from './app.component';\r\n> \r\n> import {APP_ROUTER_PROVIDERS}  from './app.routes';\r\n> \r\n> import { PartiesFormComponent } from './imports/parties/parties-form.component';\r\n> \r\n> @NgModule({\r\n> \tdeclarations: [\r\n> \t\tAppComponent,\r\n> \t\t// PartiesListComponent,\r\n> \t\t// PartyDetailsComponent,\r\n> \t\tPartiesFormComponent\r\n> \t],\r\n> \tbootstrap:    [AppComponent],\r\n> \timports:      [\r\n> \t\tBrowserModule,\r\n> \t\t/* Router*/\r\n> \t\tRouterModule.forRoot(APP_ROUTER_PROVIDERS),\r\n> \t],\r\n> \tproviders:   [\r\n> \t\tAPP_ROUTER_PROVIDERS\r\n> \t]\r\n> \r\n> })\r\n> export class AppModule { }\r\n\r\n`\r\n\r\n**app.components.ts**\r\n`\r\n\r\n> import { Component } from '@angular/core';\r\n> \r\n> import { PartiesListComponent } from './imports/parties/parties-list.component';\r\n> \r\n> import template from './app.component.html';\r\n> \r\n> @Component({\r\n> \tselector: 'app',\r\n> \ttemplate,\r\n> \tdirectives: [\r\n> \t\tPartiesListComponent,\r\n> \t]\r\n> })\r\n> \r\n> export class AppComponent {}\r\n\r\n`\r\n\r\n**app.routes.ts:**\r\n`\r\n\r\n> import { RouterConfig, provideRouter } from '@angular/router';\r\n> \r\n> import { PartiesListComponent } from './imports/parties/parties-list.component';\r\n> import { PartiesFormComponent } from './imports/parties/parties-form.component';\r\n> \r\n> const routes: RouterConfig = [\r\n> \t{ path: '', component: PartiesListComponent},\r\n> \t// { path: 'party/:partyId', component: PartyDetailsComponent },\r\n> \t// { path: 'edit/:partyId', component: PartyEditComponent },\r\n> \t{ path: 'new', component: PartiesFormComponent},\r\n> ];\r\n> \r\n> export const APP_ROUTER_PROVIDERS = [\r\n> \tprovideRouter(routes)\r\n> ];\r\n\r\n`\r\n\r\n**HAVE:**\r\n`Invalid route configuration: Array cannot be specified`"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/243420805","html_url":"https://github.com/angular/angular/issues/11162#issuecomment-243420805","issue_url":"https://api.github.com/repos/angular/angular/issues/11162","id":243420805,"user":{"login":"kosiakMD","id":4552929,"avatar_url":"https://avatars.githubusercontent.com/u/4552929?v=3","gravatar_id":"","url":"https://api.github.com/users/kosiakMD","html_url":"https://github.com/kosiakMD","followers_url":"https://api.github.com/users/kosiakMD/followers","following_url":"https://api.github.com/users/kosiakMD/following{/other_user}","gists_url":"https://api.github.com/users/kosiakMD/gists{/gist_id}","starred_url":"https://api.github.com/users/kosiakMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosiakMD/subscriptions","organizations_url":"https://api.github.com/users/kosiakMD/orgs","repos_url":"https://api.github.com/users/kosiakMD/repos","events_url":"https://api.github.com/users/kosiakMD/events{/privacy}","received_events_url":"https://api.github.com/users/kosiakMD/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T12:20:08Z","updated_at":"2016-08-30T12:20:08Z","body":"Thx\r\nTransfered to http://stackoverflow.com/questions/39227301/migration-rc4-rc5-troubleshooting/39227320#39227320"}}
{"actor":{"display_login":"kosiakMD"}}