RC8 Breaks Hybrid App in IE11 Because of Upgrade to core-js 3.6.0 in @angular-devkit/build-angular #16715
Closed
2 of 15 tasks
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
needs: more info
Reporter must clarify the issue
severity5: regression
state: blocked
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 9.0.0-RC7Description
We are having an issue in IE11 where the download of the vendor.js and main.js files during a
ng build
orng serve
never completes. It shows a pending forever in the network tab and we theorize that this is because it is getting some kind of parsing error.We first tracked it down to the @angular-dev-kit/build-angular and then to this commit (6ffa74a) which upgraded core-js 3.3.6 to 3.6.0 to the build-angular dependencies. Any build after this one (angular/angular-devkit-build-angular-builds@cbd21fa) fails to load in IE11 with either a never ending spinner or a long running script error. No other errors ever present themselves in the console.
For any build after the one listed above, if you go into the
node_modules/@angular-devkit/build-angular/node_modules
and delete thecore-js
folder, then node will revert to the projectcore-js
folder (we can verify it works at 3.1.4, 3.3.6, and 3.5.0) and everything works just fine.We have tested this with the most recent commits/builds and this is still an issue with 3.6.4 of core-js.
🔬 Minimal Reproduction
This is super hard to reproduce because we are running an AngularJS and Angular hybrid app with over half a million lines of code. We are not sure what in our build process is causing the issue but it is for sure being caused by the upgrade to version 3.6.x of
core-js
. We are very happy to do any kind of screen share or provide more information if that is required.We are attempting to make a project that makes this reproducable
🔥 Exception or Error
The only error is sometimes it errors with "...not responding due to a long running script"
🌍 Your Environment
Anything else relevant?
Only in IE11
One last comment, changing dependency versions seems like the kind of thing that shouldn't be done in a release candidate except when fixing a specific bug.
The text was updated successfully, but these errors were encountered: