Title: Ivy mode with 8.0.0-rc.2: Ivy's error message doesn't help to localize the error · Issue #30235 · angular/angular · GitHub
Open Graph Title: Ivy mode with 8.0.0-rc.2: Ivy's error message doesn't help to localize the error · Issue #30235 · angular/angular
X Title: Ivy mode with 8.0.0-rc.2: Ivy's error message doesn't help to localize the error · Issue #30235 · angular/angular
Description: 🐞 bug report Affected Package @angular/compiler Is this a regression? I just tried to migrate to Ivy mode: edited tsconfig.app.json ("enableIvy": true, "allowEmptyCodegenFiles": true), and package.json ("postinstall": "ivy-ngcc"), and fi...
Open Graph Description: 🐞 bug report Affected Package @angular/compiler Is this a regression? I just tried to migrate to Ivy mode: edited tsconfig.app.json ("enableIvy": true, "allowEmptyCodegenFiles": true), and package....
X Description: 🐞 bug report Affected Package @angular/compiler Is this a regression? I just tried to migrate to Ivy mode: edited tsconfig.app.json ("enableIvy": true, "allowEmptyCodegenFiles":...
Opengraph URL: https://github.com/angular/angular/issues/30235
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ivy mode with 8.0.0-rc.2: Ivy's error message doesn't help to localize the error","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n@angular/compiler\r\n\r\n### Is this a regression?\r\n\r\nI just tried to migrate to Ivy mode: edited tsconfig.app.json (\"enableIvy\": true, \"allowEmptyCodegenFiles\": true), and package.json (\"postinstall\": \"ivy-ngcc\"), and finally run \"npm install\".\r\n\r\n### Description\r\n\r\nThe Ivy compiler issues an error message which doesn't help to localize the error:\r\n\r\n## 🔥 Exception or Error\r\n\r\nI get such an error message:\r\n\r\n`ERROR in __ng_typecheck__.ts(108,41): error TS2532: Object is possibly 'undefined'.`\r\n\r\nAfter painful stripping down the whole angular app and removing lots of code I found that Ivy has troubles with these lines:\r\n```\r\n\u003csection class=\"mt-1\" *ngIf=\"buch !== undefined\">\r\n \u003chs-details-bearbeiten [id]=\"buch._id\">\u003c/hs-details-bearbeiten>\r\n```\r\n\r\n## 🌍 Your Environment\r\n\r\nAngular CLI 8.0.0-rc.2, Windows 10 Enterprise\r\n\r\n**Angular Version:**\r\n\r\n8.0.0-rc.2\r\n","author":{"url":"https://github.com/juergenzimmermann","@type":"Person","name":"juergenzimmermann"},"datePublished":"2019-05-02T13:08:59Z","url":"https://github.com/angular/angular/issues/30235"}
| 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:5c2dd3e5-0997-3323-4fac-003432936073 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6AC:2C4BED:F81903:13C3E0E:6B010F7E |
| html-safe-nonce | 685093d86bbca3ef08fabed5fe379ffcae516aa3eede38b56eba9261ef2024ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkFDOjJDNEJFRDpGODE5MDM6MTNDM0UwRTo2QjAxMEY3RSIsInZpc2l0b3JfaWQiOiIzNDU4NDcwNDYwNjc5ODUxOTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 83b1650765ee61b81da057b192c625ebde4a3f4bf721c2ee87aa894e452e7aae |
| hovercard-subject-tag | issue:439582161 |
| 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/30235/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9fdf41e2adfd38e62d83cf049a298bb92055b399f274acf0d828c6391ddda4c7/angular/angular/issues/30235 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9fdf41e2adfd38e62d83cf049a298bb92055b399f274acf0d828c6391ddda4c7/angular/angular/issues/30235 |
| og:image:alt | 🐞 bug report Affected Package @angular/compiler Is this a regression? I just tried to migrate to Ivy mode: edited tsconfig.app.json ("enableIvy": true, "allowEmptyCodegenFiles": true), and package.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | juergenzimmermann |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width