Skip to content

Differential loading doesn't work on Safari (macOS/iOS) #15621

@xoneill

Description

@xoneill

🐞 Bug report

Description

I am getting following error while loading app on Safari

🔬 Minimal Reproduction

  • simply create a new Angular CLI project.
  • build and run on Safari

🔥 Exception or Error


TypeError: 'text/html' is not valid JavaScript MIME type. 
promiseReactionJob

🌍 Your Environment

tested on macOS Safari v12.1.2 (14607.3.9)


Angular CLI: 8.3.4
Node: 10.16.3
OS: win32 x64
Angular: 8.2.6
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.4
@angular-devkit/build-angular     0.803.4
@angular-devkit/build-optimizer   0.803.4
@angular-devkit/build-webpack     0.803.4
@angular-devkit/core              8.3.4
@angular-devkit/schematics        8.3.4
@angular/cli                      8.3.4
@ngtools/webpack                  8.3.4
@schematics/angular               8.3.4
@schematics/update                0.803.4
rxjs                              6.5.3
typescript                        3.5.3
webpack                           4.39.2

The only workaround I found so far - switch back to es5 without a differential loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions