{"action":"created","issue":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/908","repository_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter","labels_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/908/comments","events_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/908/events","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/908","id":173545264,"number":908,"title":"No NgModule metadata found for '[object Object]'","user":{"login":"IAMtheIAM","id":13709948,"avatar_url":"https://avatars.githubusercontent.com/u/13709948?v=3","gravatar_id":"","url":"https://api.github.com/users/IAMtheIAM","html_url":"https://github.com/IAMtheIAM","followers_url":"https://api.github.com/users/IAMtheIAM/followers","following_url":"https://api.github.com/users/IAMtheIAM/following{/other_user}","gists_url":"https://api.github.com/users/IAMtheIAM/gists{/gist_id}","starred_url":"https://api.github.com/users/IAMtheIAM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IAMtheIAM/subscriptions","organizations_url":"https://api.github.com/users/IAMtheIAM/orgs","repos_url":"https://api.github.com/users/IAMtheIAM/repos","events_url":"https://api.github.com/users/IAMtheIAM/events{/privacy}","received_events_url":"https://api.github.com/users/IAMtheIAM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-26T21:15:51Z","updated_at":"2016-09-03T22:49:41Z","closed_at":null,"body":"When I try to navigate to the +detail component, it fails and throws an error instantly: What could cause this?\r\nEXCEPTION: Error: Uncaught (in promise): No NgModule metadata found for '[object Object]'.\r\n```\r\nvendors.bundle.js?42d2f33…:58505 Error: Uncaught (in promise): No NgModule metadata found for '[object Object]'.\r\n    at resolvePromise (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17687:32)\r\n    at http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17664:14\r\n    at ZoneDelegate.invoke (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17461:29)\r\n    at Object.onInvoke (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:56362:41)\r\n    at ZoneDelegate.invoke (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17460:35)\r\n    at Zone.run (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17354:44)\r\n    at http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17720:58\r\n    at ZoneDelegate.invokeTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17494:38)\r\n    at Object.onInvokeTask (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:56353:41)\r\n    at ZoneDelegate.invokeTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17493:43)\r\n    at Zone.runTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17394:48)\r\n    at drainMicroTaskQueue (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17626:36)\r\n  -------------   Elapsed: 1 ms; At: Fri Aug 26 2016 14:15:08 GMT-0700 (US Mountain Standard Time)   -------------  \r\n    at Object.onScheduleTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17067:23)\r\n    at ZoneDelegate.scheduleTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17471:50)\r\n    at Zone.scheduleMicroTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17408:40)\r\n    at scheduleResolveOrReject (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17718:15)\r\n    at resolvePromise (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17682:22)\r\n    at http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17664:14BrowserDomAdapter.logError @ vendors.bundle.js?42d2f33…:58505ExceptionHandler.call @ vendors.bundle.js?42d2f33…:51659next @ vendors.bundle.js?42d2f33…:38610schedulerFn @ vendors.bundle.js?42d2f33…:40646SafeSubscriber.__tryOrUnsub @ vendors.bundle.js?42d2f33…:1305SafeSubscriber.next @ vendors.bundle.js?42d2f33…:1254Subscriber._next @ vendors.bundle.js?42d2f33…:1204Subscriber.next @ vendors.bundle.js?42d2f33…:1168Subject._finalNext @ vendors.bundle.js?42d2f33…:3994Subject._next @ vendors.bundle.js?42d2f33…:3986Subject.next @ vendors.bundle.js?42d2f33…:3943EventEmitter.emit @ vendors.bundle.js?42d2f33…:40634onError @ vendors.bundle.js?42d2f33…:41373onHandleError @ vendors.bundle.js?42d2f33…:56383ZoneDelegate.handleError @ polyfills.bundle.js?42d2f33…:17465Zone.runGuarded @ polyfills.bundle.js?42d2f33…:17371_loop_1 @ polyfills.bundle.js?42d2f33…:17637drainMicroTaskQueue @ polyfills.bundle.js?42d2f33…:17644\r\npolyfills.bundle.js?42d2f33…:17613 Unhandled Promise rejection: No NgModule metadata found for '[object Object]'. ; Zone: angular ; Task: Promise.then ; Value: BaseException {message: \"No NgModule metadata found for '[object Object]'.\", stack: \"Error: No NgModule metadata found for '[object Obj…olyfills.bundle.js?42d2f33b7728a1e23e8f:17626:36)\"} Error: No NgModule metadata found for '[object Object]'.\r\n    at new BaseException (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:3795:23)\r\n    at NgModuleResolver.resolve (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:37056:23)\r\n    at CompileMetadataResolver.getNgModuleMetadata (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:36252:47)\r\n    at RuntimeCompiler._compileComponents (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:47637:47)\r\n    at RuntimeCompiler._compileModuleAndComponents (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:47559:37)\r\n    at RuntimeCompiler.compileModuleAsync (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:47536:21)\r\n    at ModuleBoundCompiler.compileModuleAsync (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:47908:31)\r\n    at MergeMapSubscriber.project (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:43164:119)\r\n    at MergeMapSubscriber._tryNext (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60305:27)\r\n    at MergeMapSubscriber._next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60295:18)\r\n    at MergeMapSubscriber.Subscriber.next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:1168:18)\r\n    at ScalarObservable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:43442:24)\r\n    at ScalarObservable.Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:62)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeMapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60270:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Object.subscribeToResult (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:2201:27)\r\n    at MergeMapSubscriber._innerSub (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60315:38)\r\n    at MergeMapSubscriber._tryNext (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60312:14)\r\n    at MergeMapSubscriber._next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60295:18)\r\n    at MergeMapSubscriber.Subscriber.next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:1168:18)\r\n    at ScalarObservable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:43442:24)\r\n    at ScalarObservable.Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:62)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeMapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60270:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeMapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60270:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at CatchOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:96169:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Object.subscribeToResult (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:2201:27)\r\n    at MergeAllSubscriber._next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:33241:42)\r\n    at MergeAllSubscriber.Subscriber.next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:1168:18)\r\n    at MapSubscriber._next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60184:26)\r\n    at MapSubscriber.Subscriber.next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:1168:18)\r\n    at ArrayObservable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:9845:28)\r\n    at ArrayObservable.Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:62)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeAllOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:33219:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at FirstOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:96427:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at CatchOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:96169:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Object.subscribeToResult (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:2201:27)\r\n    at MergeAllSubscriber._next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:33241:42)\r\n    at MergeAllSubscriber.Subscriber.next (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:1168:18)\r\n    at ScalarObservable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:43442:24)\r\n    at ScalarObservable.Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:62)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeAllOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:33219:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at LastOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:96551:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at CatchOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:96169:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeMapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60270:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60156:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeMapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60270:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at Observable._subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:203:28)\r\n    at MergeMapOperator.call (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:60270:23)\r\n    at Observable.subscribe (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:146:38)\r\n    at http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:176:38\r\n    at new ZoneAwarePromise (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17736:30)\r\n    at Observable.forEach (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:175:16)\r\n    at http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:22594:18\r\n    at Router.runNavigate (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:22558:16)\r\n    at http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:22536:67\r\n    at ZoneDelegate.invoke (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17461:29)\r\n    at Object.onInvoke (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:56362:41)\r\n    at ZoneDelegate.invoke (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17460:35)\r\n    at Zone.run (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17354:44)\r\n    at http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17720:58\r\n    at ZoneDelegate.invokeTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17494:38)\r\n    at Object.onInvokeTask (http://localhost:4000/vendors.bundle.js?42d2f33b7728a1e23e8f:56353:41)\r\n    at ZoneDelegate.invokeTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17493:43)\r\n    at Zone.runTask (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17394:48)\r\n    at drainMicroTaskQueue (http://localhost:4000/polyfills.bundle.js?42d2f33b7728a1e23e8f:17626:36)\r\n```"},"comment":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/comments/244574271","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/908#issuecomment-244574271","issue_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/908","id":244574271,"user":{"login":"rodrigoarantes","id":4224026,"avatar_url":"https://avatars.githubusercontent.com/u/4224026?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigoarantes","html_url":"https://github.com/rodrigoarantes","followers_url":"https://api.github.com/users/rodrigoarantes/followers","following_url":"https://api.github.com/users/rodrigoarantes/following{/other_user}","gists_url":"https://api.github.com/users/rodrigoarantes/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigoarantes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigoarantes/subscriptions","organizations_url":"https://api.github.com/users/rodrigoarantes/orgs","repos_url":"https://api.github.com/users/rodrigoarantes/repos","events_url":"https://api.github.com/users/rodrigoarantes/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigoarantes/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T22:49:41Z","updated_at":"2016-09-03T22:49:41Z","body":"Hi IAMtheIAM,\r\nIt could be due to missing **default** export in your NgModule file.\r\nYou would need to have something like.\r\n`export default class MyModule {}`"}}
{"actor":{"display_login":"rodrigoarantes"}}