Uh oh!
There was an error while loading. Please reload this page.
build: remove es2015 workaround - #14066
Conversation
With two commits (2adced1 and a22a9fa), we recently tried to add a workaround for an Angular bug that causes Angular Material to not work w/ ES2015. The workaround technically worked but had to be partially reverted because Google Closure compiler was no longer able to remove unused classes (due to a function with side-effects that modified the actual component metadata). Since the workaround (in the state it is right now) is not helping at all and a fix will land with Angular `v7.1.0` (angular/angular@95743e3) Closesangular#12760
With two commits (2adced1 and a22a9fa), we recently tried to add a workaround for an Angular bug that causes Angular Material to not work w/ ES2015. The workaround technically worked but had to be partially reverted because Google Closure compiler was no longer able to remove unused classes (due to a function with side-effects that modified the actual component metadata). Since the workaround (in the state it is right now) is not helping at all and a fix will land with Angular `v7.1.0` (angular/angular@95743e3) Closes#12760
jmpreston
commented
Nov 22, 2018
NOT FIXED in 7.1.0. TS 3.1.6. See issue #14100 |
@svstartuplab As mentioned in the PR description. This is not a problem from the Angular Material side, so we cannot do much about it. Based on angular/angular@95743e3, this issue should be fixed if you use Angular Material |
jmpreston
commented
Nov 22, 2018
I just upgraded to 7.1.0 from 6 a few days ago for Angular and Material and the problem started. I think I'm using the latest versions of everything. |
Angular Material v7.1.0 just came out yesterday. Can you please retry? Thanks! Also making sure that you are using Angular 7.1.0 as well. |
jmpreston
commented
Nov 22, 2018
As mentioned, I am using 7.1.0. From npm view: |
Okay, assuming that you use Angular v7.1.0 and In our code, the |
devversion
commented
Nov 22, 2018
If your exception is Otherwise if there is a different exception, then this is an Angular issue that should be reported on here |
jmpreston
commented
Nov 22, 2018
I'm no expert but I seem to be using the latest version.
|
Thanks. |
From package.json: So something happened in the upgrade and it updated the registry but not the packages? |
Yeah, so that shows that you didn't update Angular and Angular Material to the latest version. Do you have a lock file? probably run Sorry, I cannot help more with the issue. Please consider asking on Stackoverflow. Thanks for the feedback though. |
jmpreston
commented
Nov 22, 2018
Thank you. I did use both npm install and npm update. Just another computer mystery :-) |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
With two commits (2adced1 and a22a9fa), we recently tried to add a workaround for an Angular bug that causes Angular Material to not work w/ ES2015.
The workaround technically worked but had to be partially reverted because Google Closure compiler was no longer able to remove unused classes (due to a function with side-effects that modified the actual component metadata).
Since the workaround (in the state it is right now) is not helping at all and a fix will land with Angular
v7.1.0(angular/angular@95743e3), we are removing the workaround completely.Closes#12760