Title: [1.5.0-rc.5] AoT error reporting is flaky · Issue #8228 · angular/angular-cli · GitHub
Open Graph Title: [1.5.0-rc.5] AoT error reporting is flaky · Issue #8228 · angular/angular-cli
X Title: [1.5.0-rc.5] AoT error reporting is flaky · Issue #8228 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0-rc.5 Node: 8.7.0 OS: darwin x64 Angular: 5.0.0-rc.7 ... animations, common, comp...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0-rc.5 Node: 8.7.0 OS: darwin x64 Angular:...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0-rc.5 Node: 8.7.0 OS: darwin x64 Angul...
Opengraph URL: https://github.com/angular/angular-cli/issues/8228
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[1.5.0-rc.5] AoT error reporting is flaky","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### Versions.\r\n```\r\nAngular CLI: 1.5.0-rc.5\r\nNode: 8.7.0\r\nOS: darwin x64\r\nAngular: 5.0.0-rc.7\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\n@angular/cli: 1.5.0-rc.5\r\n@angular-devkit/build-optimizer: 0.0.31\r\n@angular-devkit/core: 0.0.20\r\n@angular-devkit/schematics: 0.0.34\r\n@ngtools/json-schema: 1.1.0\r\n@ngtools/webpack: 1.8.0-rc.5\r\n@schematics/angular: 0.0.48\r\ntypescript: 2.4.2\r\nwebpack: 3.8.1\r\n```\r\n\r\n### Repro steps.\r\nBuild a simple component with a template like: \r\n\r\n```\r\n\u003cdiv>{{ ponyModel.name }}\u003c/div>\r\n```\r\nand serve the app with `ng serve`\r\n\r\nAs with 1.5.0-rc.5, AoT is now the default mode, so changing the template to \r\n\r\n```\r\n\u003cdiv>{{ p.name }}\u003c/div>\r\n```\r\nbreaks the compilation with: \r\n\r\n```\r\nERROR in Error at ERROR in Error at /Users/cedric/Code/ninjasquad/formation/Angular2/ponyracer/src/app/pony/pony.component.html(3,15): Property 'p' does not exist on type 'PonyComponent'.\r\n\r\nERROR in Error at /Users/cedric/Code/ninjasquad/formation/Angular2/ponyracer/src/app/pony/pony.component.html(3,15): Property 'p' does not exist on type 'PonyComponent'.\r\n```\r\n\r\nNote that the error is displayed twice.\r\n\r\nBut if you fix the issue, the error sticks around in the console, only once this time.\r\n\r\nSadly, breaking the template in another way will not be picked up by the CLI, as it will only display the old error, twice again. It won't work until `ng serve` is relaunched.\r\n\r\n","author":{"url":"https://github.com/cexbrayat","@type":"Person","name":"cexbrayat"},"datePublished":"2017-10-27T22:43:42Z","url":"https://github.com/angular/angular-cli/issues/8228"}
| 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:338a9899-49bb-d45a-663a-90f3fdfd05fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CDC:5D487:BD87F0:FBDA54:6B01C7E7 |
| html-safe-nonce | 39fbde0be738b4bc353527b7c4eafa215b4806a797d122815a9c5613c2860c56 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0RDOjVENDg3OkJEODdGMDpGQkRBNTQ6NkIwMUM3RTciLCJ2aXNpdG9yX2lkIjoiMTMyNjg5OTc3Mzg4NTc2MTUxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cafa83444d3813964ac53f185287638581f1e2cf44b08d442f1e4be34fd27e30 |
| hovercard-subject-tag | issue:269256524 |
| 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/8228/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6831c5881e4944e90e61468b3602a1f160ca67b98011d86ac943dbb7ccc12898/angular/angular-cli/issues/8228 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6831c5881e4944e90e61468b3602a1f160ca67b98011d86ac943dbb7ccc12898/angular/angular-cli/issues/8228 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. Angular CLI: 1.5.0-rc.5 Node: 8.7.0 OS: darwin x64 Angular:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cexbrayat |
| 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