Title: mat-table + ivy + elements + serve + scss = error · Issue #32426 · angular/angular · GitHub
Open Graph Title: mat-table + ivy + elements + serve + scss = error · Issue #32426 · angular/angular
X Title: mat-table + ivy + elements + serve + scss = error · Issue #32426 · angular/angular
Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.
Open Graph Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.
X Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.
Opengraph URL: https://github.com/angular/angular
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mat-table + ivy + elements + serve + scss = error","articleBody":"I'll sum it up:\r\n- I have an angular element (AppComponent).\r\n- I have 'enableIvy' = true & aot = true\r\n- I use SCSS in seperate files\r\n- I do have a valid setup. So far this only happens with **mat-table**\r\n- I don't use third party builders. Standard ng serve\r\n- **Only reload with dev-server breaks**, build etc. are fine\r\n- Any change in SCSS files that are included in compilation will cause error\r\n- _**(!)(!)No caching problem. This also happens with build --watch, the created bundles are corrupt(!)(!)**_ You have to restart the build / serve task completely.\r\n\r\nSo far the workarounds are (one Of):\r\n- Inline SCSS changes do not cause break\r\n- Disable aot for ng serve\r\n- Disable ivy for ng serve \r\n\r\n\r\n\r\n#### Reproduction\r\nGithub Repo: https://github.com/kqadem/ivy-test\r\n\r\nSteps to reproduce:\r\n1. npm start\r\n2. change sth in src/app/app.component.scss, linebreak is enough\r\n3. refresh browser \r\n \r\n#### Expected Behavior\r\nI was expection the usual behaviour --> Run without any issues\r\n\r\n#### Actual Behavior\r\nError at bootstrap / startup / Initializing with following error:\r\n\r\n\r\n#### Environment\r\n\r\n- Angular: 8.2.0 (error still happens with 9-next)\r\n- CDK/Material: 8.1.4\r\n- Browser(s): Chrome 76\r\n- Operating System (e.g. Windows, macOS, Ubuntu): So far tested on Windows 7 and Ubuntu 19.04\r\n","author":{"url":"https://github.com/flash-me","@type":"Person","name":"flash-me"},"datePublished":"2019-08-27T18:42:20Z","url":"https://github.com/angular/angular/issues/32426"}
| 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 | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:42c08c46-76fe-120f-c8a6-9e7b64579fcf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B978:D5AA4:188BB58:20B00CF:6B013FDE |
| html-safe-nonce | f7304af24396feda1a875a54ceb4ff62140b70b555037eb881039807c36e864a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTc4OkQ1QUE0OjE4OEJCNTg6MjBCMDBDRjo2QjAxM0ZERSIsInZpc2l0b3JfaWQiOiI4NTk4Nzk2NTUwMTQwOTM2MTU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c0b1102f755f4068c0d94fadfa0ddf924f91cae7d5094063dc3d0b35d25e60ad |
| hovercard-subject-tag | repository:24195339 |
| 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/angular/angular/issues/32426 |
| twitter:image | https://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531 |
| twitter:card | summary_large_image |
| og:image | https://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531 |
| og:image:alt | Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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