Title: No details in error message while build prod version if there is expression in template which is not instance of ReadPropExpr · Issue #32759 · angular/angular · GitHub
Open Graph Title: No details in error message while build prod version if there is expression in template which is not instance of ReadPropExpr · Issue #32759 · angular/angular
X Title: No details in error message while build prod version if there is expression in template which is not instance of ReadPropExpr · Issue #32759 · angular/angular
Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is expression in template that is not instance of ReadPropExpr error without any details thrown while execute ng...
Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is expression in template that is not instance of ReadPropExpr error wit...
X Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is expression in template that is not instance of ReadPropExpr error wit...
Opengraph URL: https://github.com/angular/angular/issues/32759
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No details in error message while build prod version if there is expression in template which is not instance of ReadPropExpr","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n\u003c!-- Can you pin-point one or more @angular/* packages as the source of the bug? -->\r\n\u003c!-- ✍️edit: --> The issue is caused by package @angular/compiler\r\n\r\n\r\n### Is this a regression?\r\n\u003c!-- ✍️--> No\r\n\r\n\r\n### Description\r\n\r\nIf there is expression in template that is not instance of `ReadPropExpr` error without any details thrown while execute `ng build --prod`\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nRepository with example: https://github.com/mohaxspb/ng-var-directive-issue\r\n\r\nTo get error without any details just run `ng build --prod`\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nERROR in Cannot assign to a reference or variable!\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 8.3.4\r\nNode: 10.15.3\r\nOS: win32 x64\r\nAngular: 9.0.0-next.6+80.sha-df1c456.with-local-changes\r\n... animations, bazel, common, compiler, compiler-cli, core\r\n... elements, forms, language-service, localize\r\n... platform-browser, platform-browser-dynamic, platform-server\r\n... platform-webworker, platform-webworker-dynamic, router\r\n... service-worker, upgrade\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.803.4\r\n@angular-devkit/build-angular 0.803.4\r\n@angular-devkit/build-optimizer 0.803.4\r\n@angular-devkit/build-webpack 0.803.4\r\n@angular-devkit/core 8.3.4\r\n@angular-devkit/schematics 8.3.4\r\n@angular/cli 8.3.4\r\n@ngtools/webpack 8.3.4\r\n@schematics/angular 8.3.4\r\n@schematics/update 0.803.4\r\nrxjs 6.4.0\r\ntypescript 3.5.3\r\nwebpack 4.39.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\n\r\nI'm in progress with PRs to add details to error message, which will show variables names in template expression which causes error and one more with fix for it. I'll edit this issue after I submit this PRs.\r\n\r\n","author":{"url":"https://github.com/mohaxspb","@type":"Person","name":"mohaxspb"},"datePublished":"2019-09-18T21:42:30Z","url":"https://github.com/angular/angular/issues/32759"}
| 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:60fac572-b621-cca8-8024-0dff66a7df56 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E502:FC5BE:174A1F4:1EE6F66:6B0140E5 |
| html-safe-nonce | 1b4f418721b692f83ffed0f96872d0ab5513be5010b49d8a6c9d6d046085f579 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTAyOkZDNUJFOjE3NEExRjQ6MUVFNkY2Njo2QjAxNDBFNSIsInZpc2l0b3JfaWQiOiI3NjUzNjM0OTgzMTQ3NDIxOTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 09d50ffb73ab2bbfad9779cdbf00e2942a5c175376fbc1a93926913482279b79 |
| hovercard-subject-tag | issue:495469305 |
| 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/32759/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4dafc9ca654c952678ad0eb6f34f6bdecd3f1384f1bf04819e5c0f8a2eaa82a9/angular/angular/issues/32759 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4dafc9ca654c952678ad0eb6f34f6bdecd3f1384f1bf04819e5c0f8a2eaa82a9/angular/angular/issues/32759 |
| og:image:alt | 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is expression in template that is not instance of ReadPropExpr error wit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mohaxspb |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width