Title: generated apps with wrong baseUrl as TS config --> unable to compile lazyLoaded modules · Issue #969 · angular/devkit · GitHub
Open Graph Title: generated apps with wrong baseUrl as TS config --> unable to compile lazyLoaded modules · Issue #969 · angular/devkit
X Title: generated apps with wrong baseUrl as TS config --> unable to compile lazyLoaded modules · Issue #969 · angular/devkit
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Area - [ ] devkit - [x] schematics Versions Angular CLI: 6.0.3 NPM: 6.0.1 Node: 8.11.1 OS: darwin x64 Angular...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Area - [ ] devkit - [x] schematics Versions Angular CLI: 6.0.3 NPM: 6...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Area - [ ] devkit - [x] schematics Versions Angular CLI: 6.0.3 NPM...
Opengraph URL: https://github.com/angular/devkit/issues/969
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"generated apps with wrong baseUrl as TS config --> unable to compile lazyLoaded modules","articleBody":"### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Area\r\n```\r\n- [ ] devkit\r\n- [x] schematics\r\n```\r\n\r\n### Versions\r\n```\r\nAngular CLI: 6.0.3\r\nNPM: 6.0.1\r\nNode: 8.11.1\r\nOS: darwin x64\r\nAngular: 6.0.3\r\n```\r\n\r\n### Repro steps\r\n[Here](https://github.com/Ricard/ng6-lazyload-issue-evidence) is a repo with the evidence. It's just an ng6 app created by CLI with one lazy loaded module, that doesn't compile. See readme for more info.\r\n\r\n### The log given by the failure\r\n```bash\r\nng serve\r\n```\r\n\r\n> ERROR in Could not resolve module app/lazyLoadedEvidence/lazyLoadedEvidence.module relative to /Users/Ricard/NG6Evidence/evidenceApp/src/app/app-routing.module.ts\r\n\r\n### Desired functionality\r\nTypescript compiler should be able to resolve the absolute path described by Angular Router loadChildren property.\r\n\r\n### Mention any other details that might be useful\r\nThis was mentioned [on some CLI issues](https://github.com/angular/angular-cli/issues/10673)\r\nBut analyzing the issue we can see its related to the scaffold typescript configuration, therefore it is related to schematics.\r\n\r\nI guess the issue was introduced by [this commit](https://github.com/angular/devkit/commit/33af719bad1d34cca814f59ab3c0796204af9c39)\r\n","author":{"url":"https://github.com/Ricard","@type":"Person","name":"Ricard"},"datePublished":"2018-05-24T13:36:27Z","url":"https://github.com/angular/devkit/issues/969"}
| 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:9f5d379d-cd2b-34ea-8f33-c63f685106a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 932A:229B2E:17A08B6:1F235FB:6B0135E7 |
| html-safe-nonce | b1eff9b39858a184047b02c85225caa9d316a038905aee18a98d0b1a4bbcf90b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzJBOjIyOUIyRToxN0EwOEI2OjFGMjM1RkI6NkIwMTM1RTciLCJ2aXNpdG9yX2lkIjoiNjUyMjk4MTQ1ODA0MTE4OTg2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 75d6c8e972b88772d5e535f3c65d87a4490a61cca1e0cf27b4dc1ea7aaec00f5 |
| hovercard-subject-tag | issue:326125404 |
| 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/devkit/969/issue_layout |
| twitter:image | https://opengraph.githubassets.com/61f862efbb7286606b38364867c399d93fea567b2a16319fcfc2593ed66dc66d/angular/devkit/issues/969 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/61f862efbb7286606b38364867c399d93fea567b2a16319fcfc2593ed66dc66d/angular/devkit/issues/969 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Area - [ ] devkit - [x] schematics Versions Angular CLI: 6.0.3 NPM: 6... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Ricard |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/devkit git https://github.com/angular/devkit.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 88288940 |
| octolytics-dimension-repository_nwo | angular/devkit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 88288940 |
| octolytics-dimension-repository_network_root_nwo | angular/devkit |
| 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