Title: loadChildren doesn't work in webpack (rc5 ngmodule) · Issue #1679 · angular/angular-cli · GitHub
Open Graph Title: loadChildren doesn't work in webpack (rc5 ngmodule) · Issue #1679 · angular/angular-cli
X Title: loadChildren doesn't work in webpack (rc5 ngmodule) · Issue #1679 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) linux/windows Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) linux/windows Versions. Please run ng --version. If there's not...
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) linux/windows Versions. Please run ng --version. If there's...
Opengraph URL: https://github.com/angular/angular-cli/issues/1679
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"loadChildren doesn't work in webpack (rc5 ngmodule)","articleBody":"> ## Please provide us with the following information:\n1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n linux/windows\n2. Versions. Please run `ng --version`. If there's nothing outputted, please run\n in a Terminal: `node --version` and paste the result here:\n angular-cli: 1.0.0-beta.11-webpack.2\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\n do on your code? etc.\n\nDefined a new module 'about', referenced it in a route:\n { path: 'about', loadChildren: 'app/+about/about.module' },\n\nBuild passes, during runtime, exception is thrown\n1. The log given by the failure. Normally this include a stack trace and some\n more information.\n\nEXCEPTION: Error: Uncaught (in promise): TypeError: Cannot read property 'import' of undefined\nbrowser_adapter.js:84 EXCEPTION: Error: Uncaught (in promise): TypeError: Cannot read property 'import' of undefinedBrowserDomAdapter.logError @ browser_adapter.js:84BrowserDomAdapter.logGroup @ browser_adapter.js:94ExceptionHandler.call @ exception_handler.js:65next @ application_ref.js:348schedulerFn @ async.js:89SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ async.js:77onError @ ng_zone.js:124onHandleError @ ng_zone_impl.js:74ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\nbrowser_adapter.js:84 STACKTRACE:BrowserDomAdapter.logError @ browser_adapter.js:84ExceptionHandler.call @ exception_handler.js:67next @ application_ref.js:348schedulerFn @ async.js:89SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ async.js:77onError @ ng_zone.js:124onHandleError @ ng_zone_impl.js:74ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\nbrowser_adapter.js:84 Error: Uncaught (in promise): TypeError: Cannot read property 'import' of undefined\n at resolvePromise (zone.js:538)\n at zone.js:515\n at ZoneDelegate.invoke (zone.js:323)\n at Object.onInvoke (ng_zone_impl.js:53)\n at ZoneDelegate.invoke (zone.js:322)\n at Zone.run (zone.js:216)\n at zone.js:571\n at ZoneDelegate.invokeTask (zone.js:356)\n at Object.onInvokeTask (ng_zone_impl.js:44)\n at ZoneDelegate.invokeTask (zone.js:355)BrowserDomAdapter.logError @ browser_adapter.js:84ExceptionHandler.call @ exception_handler.js:68next @ application_ref.js:348schedulerFn @ async.js:89SafeSubscriber.__tryOrUnsub @ Subscriber.js:225SafeSubscriber.next @ Subscriber.js:174Subscriber._next @ Subscriber.js:124Subscriber.next @ Subscriber.js:88Subject._finalNext @ Subject.js:128Subject._next @ Subject.js:120Subject.next @ Subject.js:77EventEmitter.emit @ async.js:77onError @ ng_zone.js:124onHandleError @ ng_zone_impl.js:74ZoneDelegate.handleError @ zone.js:327Zone.runGuarded @ zone.js:233_loop_1 @ zone.js:487drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\nzone.js:461 Unhandled Promise rejection: Cannot read property 'import' of undefined ; Zone: angular ; Task: Promise.then ; Value: TypeError: Cannot read property 'import' of undefined(…)consoleError @ zone.js:461_loop_1 @ zone.js:490drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\nzone.js:463 Error: Uncaught (in promise): TypeError: Cannot read property 'import' of undefined(…)consoleError @ zone.js:463_loop_1 @ zone.js:490drainMicroTaskQueue @ zone.js:494ZoneTask.invoke @ zone.js:426\n1. Mention any other details that might be useful.\n\n> ---\n> \n> Thanks! We'll be in touch soon.\n","author":{"url":"https://github.com/reflog","@type":"Person","name":"reflog"},"datePublished":"2016-08-13T09:52:11Z","url":"https://github.com/angular/angular-cli/issues/1679"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:70d46d54-b400-8cb8-5bc5-41287641ae32 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1CA:2270F4:18C1FD6:20DF099:6B014994 |
| html-safe-nonce | 6ae2270302e155b0f0c7a27173e2b501078f46bcc14e79b621d4ff395d13f8e4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUNBOjIyNzBGNDoxOEMxRkQ2OjIwREYwOTk6NkIwMTQ5OTQiLCJ2aXNpdG9yX2lkIjoiNjUzMTEzMjQ0Njk3NTU0MzcwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4f9bd1a7c8e3b6c9c25764a955faeee9c39e02be3933b8a4e7eebdc96dd358c6 |
| hovercard-subject-tag | issue:171002017 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/1679/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e3550f13f8e9bea2d5768beaffea2d8b09173cfc8db379a618dcf1add16d999/angular/angular-cli/issues/1679 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e3550f13f8e9bea2d5768beaffea2d8b09173cfc8db379a618dcf1add16d999/angular/angular-cli/issues/1679 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) linux/windows Versions. Please run ng --version. If there's not... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | reflog |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width