Title: Module resolution fails in v1.7.0 when "baseUrl" is set in tsconfig · Issue #9671 · angular/angular-cli · GitHub
Open Graph Title: Module resolution fails in v1.7.0 when "baseUrl" is set in tsconfig · Issue #9671 · angular/angular-cli
X Title: Module resolution fails in v1.7.0 when "baseUrl" is set in tsconfig · Issue #9671 · angular/angular-cli
Description: Versions Angular CLI: 1.7.0 Node: 8.9.4 OS: linux x64 Angular: 5.2.5 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router @angular/cli: 1.7.0 @angul...
Open Graph Description: Versions Angular CLI: 1.7.0 Node: 8.9.4 OS: linux x64 Angular: 5.2.5 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dy...
X Description: Versions Angular CLI: 1.7.0 Node: 8.9.4 OS: linux x64 Angular: 5.2.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/9671
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module resolution fails in v1.7.0 when \"baseUrl\" is set in tsconfig","articleBody":"### Versions\r\n```\r\nAngular CLI: 1.7.0\r\nNode: 8.9.4\r\nOS: linux x64\r\nAngular: 5.2.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.7.0\r\n@angular-devkit/build-optimizer: 0.3.1\r\n@angular-devkit/core: 0.3.1\r\n@angular-devkit/schematics: 0.3.1\r\n@ngtools/json-schema: 1.2.0\r\n@ngtools/webpack: 1.10.0\r\n@schematics/angular: 0.3.1\r\n@schematics/package-update: 0.3.1\r\ntypescript: 2.6.2\r\nwebpack: 3.11.0\r\n```\r\n\r\n### Repro steps\r\n* Run `git clone https://github.com/mprahl/angular-cli-9671-reproducer.git`\r\n* Run `cd angular-cli-9671-reproducer && npm install && ng serve`\r\n\r\n### Observed behavior\r\n```\r\nERROR in ./src/app/app.module.ts\r\nModule not found: Error: Can't resolve 'reproducer/hello/hello.component' in '/path/to/angular-cli-9671-reproducer/src/app'\r\n```\r\n\r\n### Desired behavior\r\nThe imports should work as they did in v1.6.x.\r\n\r\n\r\n### Mention any other details that might be useful (optional)\r\nThe following commit broke this functionality: https://github.com/angular/angular-cli/commit/29aa274b6721c1399ca2baca18565b21254fb3f0\r\n\r\nRunning angular-cli with commit https://github.com/angular/angular-cli/commit/29aa274b6721c1399ca2baca18565b21254fb3f0 reverted works as expected.\r\n","author":{"url":"https://github.com/mprahl","@type":"Person","name":"mprahl"},"datePublished":"2018-02-18T00:06:41Z","url":"https://github.com/angular/angular-cli/issues/9671"}
| 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:e6b40167-5981-ee99-6ae6-596fc3756f89 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADEA:E9D16:367DE5F:451D121:6B021C76 |
| html-safe-nonce | fd6331d290256f2ad6f748d20cefeef839f43f624046afd366f8a6414fb02b90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREVBOkU5RDE2OjM2N0RFNUY6NDUxRDEyMTo2QjAyMUM3NiIsInZpc2l0b3JfaWQiOiI3MTExNzc0MzM3MDU2Nzc1Mjg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ccf8087d8fe23b85e7e100ee13201eccbfcda594336dfaf8771332b09a4c925 |
| hovercard-subject-tag | issue:298047149 |
| 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/9671/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c9b139aafa89678678625f17d06ecc6df441ee96dc607f878e29a29a75657b25/angular/angular-cli/issues/9671 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c9b139aafa89678678625f17d06ecc6df441ee96dc607f878e29a29a75657b25/angular/angular-cli/issues/9671 |
| og:image:alt | Versions Angular CLI: 1.7.0 Node: 8.9.4 OS: linux x64 Angular: 5.2.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 | mprahl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width