{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/2112","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/2112/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/2112/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/2112/events","html_url":"https://github.com/angular/angular-cli/issues/2112","id":176948058,"number":2112,"title":"Lazy loading in Angular2 RC7 and angular-cli webpack","user":{"login":"stephenwilson1984","id":20183602,"avatar_url":"https://avatars.githubusercontent.com/u/20183602?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenwilson1984","html_url":"https://github.com/stephenwilson1984","followers_url":"https://api.github.com/users/stephenwilson1984/followers","following_url":"https://api.github.com/users/stephenwilson1984/following{/other_user}","gists_url":"https://api.github.com/users/stephenwilson1984/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenwilson1984/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenwilson1984/subscriptions","organizations_url":"https://api.github.com/users/stephenwilson1984/orgs","repos_url":"https://api.github.com/users/stephenwilson1984/repos","events_url":"https://api.github.com/users/stephenwilson1984/events{/privacy}","received_events_url":"https://api.github.com/users/stephenwilson1984/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular-cli/labels/need:%20more%20info","name":"need: more info","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":28,"created_at":"2016-09-14T16:00:28Z","updated_at":"2016-10-07T05:00:09Z","closed_at":null,"body":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n1. OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\nWindows 7\r\n\r\n2. Versions. Please run `ng --version`. If there's nothing outputted, please run\r\nin a Terminal: `node --version` and paste the result here:\r\nangular-cli: 1.0.0-beta.11-webpack.9-4\r\nnode: 6.5.0\r\nos: win32 x64\r\n\r\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\r\n   do on your code? etc.\r\nCreated a boilerplate app using \"ng new\" then added a basic home module manually.\r\n\r\n\r\n4. The log given by the failure. Normally this include a stack trace and some\r\n   more information.\r\nerror_handler.js:45EXCEPTION: Uncaught (in promise): Error: Cannot find module '/app/home.module'.ErrorHandler.handleError @ error_handler.js:45next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102_loop_1 @ zone.js:368drainMicroTaskQueue @ zone.js:375\r\nerror_handler.js:50ORIGINAL STACKTRACE:ErrorHandler.handleError @ error_handler.js:50next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102_loop_1 @ zone.js:368drainMicroTaskQueue @ zone.js:375\r\nerror_handler.js:51Error: Uncaught (in promise): Error: Cannot find module '/app/home.module'.\r\n    at resolvePromise (zone.js:418)\r\n    at zone.js:395\r\n    at ZoneDelegate.invoke (zone.js:192)\r\n    at Object.onInvoke (ng_zone_impl.js:43)\r\n    at ZoneDelegate.invoke (zone.js:191)\r\n    at Zone.run (zone.js:85)\r\n    at zone.js:451\r\n    at ZoneDelegate.invokeTask (zone.js:225)\r\n    at Object.onInvokeTask (ng_zone_impl.js:34)\r\n    at ZoneDelegate.invokeTask (zone.js:224)ErrorHandler.handleError @ error_handler.js:51next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102_loop_1 @ zone.js:368drainMicroTaskQueue @ zone.js:375\r\nzone.js:344Unhandled Promise rejection: Cannot find module '/app/home.module'. ; Zone: angular ; Task: Promise.then ; Value: Error: Cannot find module '/app/home.module'.(…) Error: Cannot find module '/app/home.module'.\r\n    at webpackEmptyContext (http://localhost:4200/main.bundle.js:41545:8)\r\n    at SystemJsNgModuleLoader.loadAndCompile (http://localhost:4200/main.bundle.js:50064:40)\r\n    at SystemJsNgModuleLoader.load (http://localhost:4200/main.bundle.js:50057:60)\r\n    at RouterConfigLoader.loadModuleFactory (http://localhost:4200/main.bundle.js:16894:128)\r\n    at RouterConfigLoader.load (http://localhost:4200/main.bundle.js:16886:81)\r\n    at MergeMapSubscriber.project (http://localhost:4200/main.bundle.js:52671:111)\r\n    at MergeMapSubscriber._tryNext (http://localhost:4200/main.bundle.js:25798:27)\r\n    at MergeMapSubscriber._next (http://localhost:4200/main.bundle.js:25788:18)\r\n    at MergeMapSubscriber.Subscriber.next (http://localhost:4200/main.bundle.js:5728:18)\r\n    at ScalarObservable._subscribe (http://localhost:4200/main.bundle.js:40540:24)consoleError @ zone.js:344_loop_1 @ zone.js:371drainMicroTaskQueue @ zone.js:375\r\nzone.js:346Error: Uncaught (in promise): Error: Cannot find module '/app/home.module'.(…)\r\n\r\n5. Mention any other details that might be useful.\r\nAlso a question raised on StackOverflow with more details:  http://stackoverflow.com/q/39493782/616304\r\n> ---------------------------------------------------------------\r\n> Thanks! We'll be in touch soon.\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/252153390","html_url":"https://github.com/angular/angular-cli/issues/2112#issuecomment-252153390","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/2112","id":252153390,"user":{"login":"Delagen","id":783335,"avatar_url":"https://avatars.githubusercontent.com/u/783335?v=3","gravatar_id":"","url":"https://api.github.com/users/Delagen","html_url":"https://github.com/Delagen","followers_url":"https://api.github.com/users/Delagen/followers","following_url":"https://api.github.com/users/Delagen/following{/other_user}","gists_url":"https://api.github.com/users/Delagen/gists{/gist_id}","starred_url":"https://api.github.com/users/Delagen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Delagen/subscriptions","organizations_url":"https://api.github.com/users/Delagen/orgs","repos_url":"https://api.github.com/users/Delagen/repos","events_url":"https://api.github.com/users/Delagen/events{/privacy}","received_events_url":"https://api.github.com/users/Delagen/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T05:00:09Z","updated_at":"2016-10-07T05:00:09Z","body":"@onedotover No I issue different issue"}}
{"actor":{"display_login":"Delagen"}}