Hi..

I am New to Angular2. I structed by the following error. Anyone plz?

angular2-polyfills.js:1250 Uncaught EXCEPTION: Error during evaluation of 
"click"
ORIGINAL EXCEPTION: Component "LoginComponent" has no route config.
ORIGINAL STACKTRACE:
Error: Component "LoginComponent" has no route config.
    at new BaseException 
(http://localhost:3000/node_modules/angular2/bundles/angular2.dev.js:7351:21)
    at RouteRegistry._generate 
(http://localhost:3000/node_modules/angular2/bundles/router.dev.js:2489:15)
    at RouteRegistry.generate 
(http://localhost:3000/node_modules/angular2/bundles/router.dev.js:2454:39)
    at RootRouter.Router.generate 
(http://localhost:3000/node_modules/angular2/bundles/router.dev.js:2944:28)
    at RootRouter.Router.navigate 
(http://localhost:3000/node_modules/angular2/bundles/router.dev.js:2735:30)
    at AuthenticationService.login 
(http://localhost:3000/app/authentication.service.ts!transpiled:47:38)
    at LoginComponent.login 
(http://localhost:3000/app/login.component.ts!transpiled:34:40)
    at 
AbstractChangeDetector.ChangeDetector_LoginComponent_0.handleEventInternal 
(viewFactory_LoginComponent:484:30)
    at AbstractChangeDetector.handleEvent 
(http://localhost:3000/node_modules/angular2/bundles/angular2.dev.js:8075:25)
    at AppView.triggerEventHandlers 
(http://localhost:3000/node_modules/angular2/bundles/angular2.dev.js:10856:34)
ERROR CONTEXT:
[object Object]Zone.run @ angular2-polyfills.js:1250zoneBoundFn @ 
angular2-polyfills.js:1220


Anyone guide me. Plzzz?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to