Angular 区js@0.7.4:405未处理的承诺拒绝:无法读取属性';visitExpression';未定义的;分区:<;根>;任务:承诺;

Angular 区js@0.7.4:405未处理的承诺拒绝:无法读取属性';visitExpression';未定义的;分区:<;根>;任务:承诺;,angular,typescript,angular-routing,Angular,Typescript,Angular Routing,我有以下错误: zone.js@0.7.4:405 Unhandled Promise rejection: Cannot read property 'visitExpression' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'visitExpression' of undefined 试着用plunker复制它试着用plunker复制它 i

我有以下错误:

zone.js@0.7.4:405 Unhandled Promise rejection: Cannot read property 'visitExpression' of undefined ; Zone: <root> ; Task: Promise.then ; Value: TypeError: Cannot read property 'visitExpression' of undefined

试着用plunker复制它试着用plunker复制它
import { NgModule }             from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { DashboardComponent }   from './dashboard.component';
import { HeroesComponent }      from './heroes.component';
import { HeroDetailComponent }  from './hero-detail.component';

const routes: Routes = [
  { path: '', redirectTo: '/dashboard', pathMatch: 'full' },
  { path: 'dashboard',  component: DashboardComponent },
  { path: 'detail/:id', component: HeroDetailComponent },
  { path: 'heroes',     component: HeroesComponent }
];

@NgModule({
  imports: [ RouterModule.forRoot(routes) ],
  exports: [ RouterModule ]
})
export class AppRoutingModule {}