Title: Lazy loaded chunk not generated when lazy route is a child of non-lazy route. · Issue #9488 · angular/angular-cli · GitHub
Open Graph Title: Lazy loaded chunk not generated when lazy route is a child of non-lazy route. · Issue #9488 · angular/angular-cli
X Title: Lazy loaded chunk not generated when lazy route is a child of non-lazy route. · Issue #9488 · angular/angular-cli
Description: Versions Angular CLI: 1.6.6 Node: 8.9.4 OS: linux x64 Angular: 5.2.2 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router, service-worker @angular/c...
Open Graph Description: Versions Angular CLI: 1.6.6 Node: 8.9.4 OS: linux x64 Angular: 5.2.2 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
X Description: Versions Angular CLI: 1.6.6 Node: 8.9.4 OS: linux x64 Angular: 5.2.2 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
Opengraph URL: https://github.com/angular/angular-cli/issues/9488
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lazy loaded chunk not generated when lazy route is a child of non-lazy route.","articleBody":"### Versions\r\n```\r\nAngular CLI: 1.6.6\r\nNode: 8.9.4\r\nOS: linux x64\r\nAngular: 5.2.2\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router, service-worker\r\n\r\n@angular/cdk: 5.1.0\r\n@angular/cli: 1.6.6\r\n@angular/material: 5.1.0\r\n@angular-devkit/build-optimizer: 0.0.42\r\n@angular-devkit/core: 0.0.29\r\n@angular-devkit/schematics: 0.0.52\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.9.6\r\n@schematics/angular: 0.1.17\r\ntypescript: 2.4.2\r\nwebpack-bundle-analyzer: 2.9.2\r\nwebpack: 3.10.0\r\n```\r\n\r\n### Repro steps\r\n* Create an angular 5 app\r\n* In the main root module load 2 routes by module, but not lazy loaded.\r\n* In one of the child modules, lazy load subsequent modules\r\n\r\n### Observed behavior\r\n```\r\nError thrown when loading the lazy route. When search for the chunk expected in the filesystem it is not there.\r\n```\r\n\r\n### Desired behavior\r\nThe lazy loaded route is loaded via a chunk create created by webpack\r\n\r\n### Mention any other details that might be useful (optional)\r\nSO question raised, but nobody has an answer:\r\nhttps://stackoverflow.com/questions/48523411/angular-5-with-angular-cli-non-lazy-loading-modules-in-the-router\r\n\r\nDemo code of the exact issue on github:\r\nhttps://github.com/jdcrecur/ang5ModuleRouting\r\n\r\n","author":{"url":"https://github.com/jdcrecur","@type":"Person","name":"jdcrecur"},"datePublished":"2018-02-02T14:16:10Z","url":"https://github.com/angular/angular-cli/issues/9488"}
| 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:18d4c4b9-dad1-991e-1adb-026e64706b0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E81E:63875:1413111:1A8F237:6B012439 |
| html-safe-nonce | 59b73a1af6e69091c20fa3fb0d2febb9bc2d58445ee7f6a948ab4de52287fb0a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODFFOjYzODc1OjE0MTMxMTE6MUE4RjIzNzo2QjAxMjQzOSIsInZpc2l0b3JfaWQiOiIzMzEzOTQ4MTg3MDEzNzUxODY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0cc5402507bc94283a979be32a709b5ba894b29826375496024924c0053612a1 |
| hovercard-subject-tag | issue:293901975 |
| 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/9488/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6b66c4c2c05c38a13e61ddf7476efce1dd378c2f198d28b280bf65bb9b9c52c/angular/angular-cli/issues/9488 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6b66c4c2c05c38a13e61ddf7476efce1dd378c2f198d28b280bf65bb9b9c52c/angular/angular-cli/issues/9488 |
| og:image:alt | Versions Angular CLI: 1.6.6 Node: 8.9.4 OS: linux x64 Angular: 5.2.2 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jdcrecur |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width