Title: CLI: 8.3.0 + iVY = ERROR in Error: Cannot assign to a reference or variable! · Issue #32695 · angular/angular · GitHub
Open Graph Title: CLI: 8.3.0 + iVY = ERROR in Error: Cannot assign to a reference or variable! · Issue #32695 · angular/angular
X Title: CLI: 8.3.0 + iVY = ERROR in Error: Cannot assign to a reference or variable! · Issue #32695 · angular/angular
Description: 🐞 Bug report - [ ] new - [ X ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Description I updated my CLI and enabled IVY, bu...
Open Graph Description: 🐞 Bug report - [ ] new - [ X ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Descript...
X Description: 🐞 Bug report - [ ] new - [ X ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Descript...
Opengraph URL: https://github.com/angular/angular/issues/32695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CLI: 8.3.0 + iVY = ERROR in Error: Cannot assign to a reference or variable!","articleBody":"\r\n\r\n# 🐞 Bug report\r\n\r\n\u003c!-- Can you pin-point the command or commands that are effected by this bug? -->\r\n\u003c!-- ✍️edit: -->\r\n```\r\n- [ ] new\r\n- [ X ] build\r\n- [ ] serve\r\n- [ ] test\r\n- [ ] e2e\r\n- [ ] generate\r\n- [ ] add\r\n- [ ] update\r\n- [ ] lint\r\n- [ ] xi18n\r\n- [ ] run\r\n- [ ] config\r\n- [ ] help\r\n- [ ] version\r\n- [ ] doc\r\n```\r\n\r\n### Description\r\nI updated my CLI and enabled IVY, but when I'm building the error mentioned below.\r\nI checked several things I found on the internet, example of the links below:\r\n\r\nhttps://stackoverflow.com/questions/48021581/error-cannot-assign-to-a-reference-or-variable-angular-4\r\n\r\nhttps://github.com/TrilonIO/aspnetcore-angular-universal/issues/293\r\n\r\nAnd the problem, which is not pointing the location of the error, if there is error.\r\nBecause it started this only after updating the cli and activating ivy\r\n\r\n\r\n\r\n## 🔥 Exception or Error\r\n```\r\nERROR in Error: Cannot assign to a reference or variable!\r\n at _AstToIrVisitor.visitPropertyWrite (/var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:8412:31)\r\n at PropertyWrite.visit (/var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:7256:28)\r\n at convertActionBinding (/var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:8021:49)\r\n at prepareEventListenerParameters (/var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16230:27)\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:17314:24\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:17095:71\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16405:87\r\n at Array.map (\u003canonymous>)\r\n at TemplateDefinitionBuilder.buildTemplateFunction (/var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16405:60)\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16963:60\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16383:81\r\n at Array.forEach (\u003canonymous>)\r\n at TemplateDefinitionBuilder.buildTemplateFunction (/var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16383:37)\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16963:60\r\n at /var/www/html/pwa-vimbo/node_modules/@angular/compiler/bundles/compiler.umd.js:16383:81\r\n at Array.forEach (\u003canonymous>)\r\n```\r\n\r\n\r\n## 🌍 Your Environment\r\n```javascript\r\nAngular CLI: 8.3.0\r\nNode: 10.15.3\r\nOS: linux x64\r\nAngular: 9.0.0-next.3\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router, service-worker\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.803.0\r\n@angular-devkit/build-angular 0.803.0\r\n@angular-devkit/build-optimizer 0.803.0\r\n@angular-devkit/build-webpack 0.803.0\r\n@angular-devkit/core 8.3.0\r\n@angular-devkit/schematics 8.3.0\r\n@angular/cdk 8.1.3\r\n@angular/cli 8.3.0\r\n@angular/flex-layout 8.0.0-beta.26\r\n@angular/material 8.1.3\r\n@angular/material-moment-adapter 8.1.3\r\n@ngtools/webpack 8.3.0\r\n@schematics/angular 8.3.0\r\n@schematics/update 0.803.0\r\nrxjs 6.5.2\r\ntypescript 3.5.3\r\nwebpack 4.39.2\r\n```","author":{"url":"https://github.com/GlauberF","@type":"Person","name":"GlauberF"},"datePublished":"2019-08-23T19:59:52Z","url":"https://github.com/angular/angular/issues/32695"}
| 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:5686e22c-6ca5-a309-f9e7-baa395b96e28 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 887E:26ECEB:18F9314:1FD3A81:6B01311F |
| html-safe-nonce | 94cc9473eaab69ff8578c7bd9eaf0a57b2950a71ee1ae76aae59295a4ed4ebd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODdFOjI2RUNFQjoxOEY5MzE0OjFGRDNBODE6NkIwMTMxMUYiLCJ2aXNpdG9yX2lkIjoiMjQ1ODI0MDM5ODI0NzMyNDQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 04c51d8ce665008fe37e586dd50007d69c9d00b55dbe8babac233513dbba237b |
| hovercard-subject-tag | issue:493915860 |
| 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/32695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c56854259f35479c6f5a827114e7fdea2261c9487160318f12e6d4293a90094/angular/angular/issues/32695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c56854259f35479c6f5a827114e7fdea2261c9487160318f12e6d4293a90094/angular/angular/issues/32695 |
| og:image:alt | 🐞 Bug report - [ ] new - [ X ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc Descript... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | GlauberF |
| 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