This is my setup:
import {bootstrap} from \'angular2/platform/browser\';
import {Component} from \'angular2/core\';
import {LocationStrategy, APP_BASE_HREF,
I had the same issue. My import was not surrounded by curly braces, so it was undefined.
The problem is the cryptic error message, which should state that the component you provided is undefined
for the @RouteConfig
.
In my case it was the mismatch of the component name in import {TestComponent} and "export class TestingComponent"
TestingComponent should be TestComponent.