Title: WARNING in Duplicated path in loadChildren detected during a rebuild · Issue #8722 · angular/angular-cli · GitHub
Open Graph Title: WARNING in Duplicated path in loadChildren detected during a rebuild · Issue #8722 · angular/angular-cli
X Title: WARNING in Duplicated path in loadChildren detected during a rebuild · Issue #8722 · angular/angular-cli
Description: Versions Angular CLI: 1.5.0 Node: 8.9.1 OS: win32 x64 Angular: 5.0.5 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router @angular/cli: 1.5.0 @angul...
Open Graph Description: Versions Angular CLI: 1.5.0 Node: 8.9.1 OS: win32 x64 Angular: 5.0.5 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
X Description: Versions Angular CLI: 1.5.0 Node: 8.9.1 OS: win32 x64 Angular: 5.0.5 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
Opengraph URL: https://github.com/angular/angular-cli/issues/8722
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WARNING in Duplicated path in loadChildren detected during a rebuild","articleBody":"### Versions\r\n```\r\nAngular CLI: 1.5.0\r\nNode: 8.9.1\r\nOS: win32 x64\r\nAngular: 5.0.5\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n@angular/cli: 1.5.0\r\n@angular-devkit/build-optimizer: 0.0.34\r\n@angular-devkit/core: 0.0.22\r\n@angular-devkit/schematics: 0.0.38\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.8.0\r\n@schematics/angular: 0.1.8\r\ntypescript: 2.4.2\r\nwebpack: 3.8.1\r\n```\r\n\r\n### Repro steps\r\n* Checkout the project : https://github.com/arnaudoisel/lazy-loading-routes-bug\r\n* \\> yarn (or npm install)\r\n* \\> ng serve\r\n* Modify the \"routes.ts\" file (by adding a comment for example)\r\n* Save the file\r\n=> The warning will be displayed in the console\r\n\r\n\r\n### Observed behavior\r\nWith Angular CLI, if a project contains a module that is lazy loaded, when we modify the file containing the routes, after the automatic rebuild by Angular CLI, the following warning message is displayed in the console : \r\n\r\n```\r\nWARNING in Duplicated path in loadChildren detected during a rebuild. We will take the latest version detected and override it to save rebuild time. You should perform a full build to validate that your routes don't overlap.\r\n```\r\n\r\n### Desired behavior\r\nDesired : No warning message displayed in console.\r\n\r\nOtherwise it might cause bugs while developping. And even without any real issue, the warning message is a bit scary and could prevent from acknowledging real bugs in the application.\r\n\r\n","author":{"url":"https://github.com/arnaudoisel","@type":"Person","name":"arnaudoisel"},"datePublished":"2017-12-02T13:06:10Z","url":"https://github.com/angular/angular-cli/issues/8722"}
| 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:5d1bdcca-b756-3f38-6fcd-46e60cfc113e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD82:EDA7A:1727930:1D6B786:6B013A4E |
| html-safe-nonce | 7de41417d57fec7cbe076f1760a18cdf873b7828a1f5a771cc972ec0be56782e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDgyOkVEQTdBOjE3Mjc5MzA6MUQ2Qjc4Njo2QjAxM0E0RSIsInZpc2l0b3JfaWQiOiI2MjgxNTU5MDgxODYyNTc5OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c8c8e953b220d25564428ef1450e688a9d8260be35bc339c656f487f59d392e |
| hovercard-subject-tag | issue:278682659 |
| 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/8722/issue_layout |
| twitter:image | https://opengraph.githubassets.com/71f06a2354d325438be3dedf2e9af1ec6ada05f926884f5af5e3a90e30ea8265/angular/angular-cli/issues/8722 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/71f06a2354d325438be3dedf2e9af1ec6ada05f926884f5af5e3a90e30ea8265/angular/angular-cli/issues/8722 |
| og:image:alt | Versions Angular CLI: 1.5.0 Node: 8.9.1 OS: win32 x64 Angular: 5.0.5 ... 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 | arnaudoisel |
| 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