Skip to content

Internet Explorer prod build broken at runtime by 8.3.20 upgrade #16405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 15 tasks
Wisdomb33r opened this issue Dec 10, 2019 · 2 comments
Closed
1 of 15 tasks

Internet Explorer prod build broken at runtime by 8.3.20 upgrade #16405

Wisdomb33r opened this issue Dec 10, 2019 · 2 comments
Labels
Milestone

Comments

@Wisdomb33r
Copy link

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 8.3.19

Description

Production build is completely fine when compiled with 8.3.19 and is working on Internet Explorer. Upgrading to 8.3.20 (and devkit/build-angular to 0.803.20 accordingly) is breaking the runtime execution of the app. No other project change besides this 19-to-20 change.

🔬 Minimal Reproduction

The problem is NOT present when I use ng serve nor it is with ng serve --prod (assuming here the target is es5). I could only get the error when the final prod build is deployed on a web server (with differential loading active). The error stacktrace is consequently lost in the minified JS and doesn't say much about the problem location.

🔥 Exception or Error


Object doesn't support property or method 'some'

According to MDN, Arrays.some is supported by Internet Explorer since version 9. I searched my entire code for calls to any some method and could not find a single one.

🌍 Your Environment


Angular CLI: 8.3.20
Node: 12.13.1
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.803.20
@angular-devkit/build-angular      0.803.20
@angular-devkit/build-optimizer    0.803.20
@angular-devkit/build-webpack      0.803.20
@angular-devkit/core               8.3.20
@angular-devkit/schematics         8.3.20
@angular/cdk                       8.2.3
@angular/cli                       8.3.20
@angular/material                  8.2.3
@angular/material-moment-adapter   8.2.3
@ngtools/webpack                   8.3.20
@schematics/angular                8.3.20
@schematics/update                 0.803.20
rxjs                               6.5.3
typescript                         3.5.3
webpack                            4.39.2

Anything else relevant?
IE11

Browserslist :


> 0.5%
last 2 versions
Firefox ESR
not dead
IE 9-11 # For IE 9-11 support, remove 'not'.

Compiler options for ng build --prod :
module : exnext
target: es2015

@ngbot ngbot bot modified the milestone: Backlog Dec 10, 2019
@clydin
Copy link
Member

clydin commented Dec 10, 2019

Duplicate of #16366

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants