question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Differential loading breaks in Safari 10.1.2 (12603.3.8)

See original GitHub issue

🐞 bug report

Affected Package

The issue is caused by package: not sure if this belongs to @angular/core or @angular/cli

Is this a regression?

Yes, it worked fine before the introduction of differential loading

Description

The application won’t load in Safari 10.1.2 if building with differential loading. It works fine without it.

🔬 Minimal Reproduction

Visit angular.io with Safari 10.1.2. It breaks with "Error: Zone.js has detected that ZoneAwarePromise … has been overwritten. I think it happens because of Safari first loading (runtime|polyfills)-es2015 scripts, and then (runtime|polyfills)-es5 scripts.

🔥 Exception or Error


Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.
Most likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)
assertZonePatched — zone.js.pre-build-optimizer.js:58
t — core.js.pre-build-optimizer.js:26486
bootstrapModuleFactory — core.js.pre-build-optimizer.js:27202
zUnb — main.ts:11
c — bootstrap:83
(anonymous function) — location.service.ts:11
c — bootstrap:83
r — bootstrap:45
(anonymous function) — bootstrap:210
Module Code — bootstrap:215
evaluate
moduleEvaluation

🌍 Your Environment

Angular Version:


Angular CLI: 8.0.1
Node: 10.15.3
OS: linux x64
Angular: 8.0.0
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.800.1
@angular-devkit/build-angular     0.800.1
@angular-devkit/build-optimizer   0.800.1
@angular-devkit/build-webpack     0.800.1
@angular-devkit/core              8.0.1
@angular-devkit/schematics        8.0.1
@angular/cli                      8.0.1
@ngtools/webpack                  8.0.1
@schematics/angular               8.0.1
@schematics/update                0.800.1
rxjs                              6.5.2
typescript                        3.4.5
webpack                           4.30.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

0reactions
angular-automatic-lock-bot[bot]commented, Oct 26, 2019

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

issue withSafari Version 10.1.2 10603.3.8 - Apple Community
It's our understanding that some pages aren't loading in Safari on your Mac. You've come to the right place! We're happy to help....
Read more >
If Safari on Mac doesn't open a webpage or isn't working as ...
If Safari isn't working as you expect, one of these solutions might help. ... Open Safari again and try to load the page....
Read more >
Update to the latest version of Safari - Apple Support
If a Safari update is available for your device, you can get it by updating or upgrading macOS, iOS, or iPadOS.
Read more >
About the security content of Safari 10.1.2 - Apple Support
This document describes the security content of Safari 10.1.2. ... WebKit Page Loading. Available for: OS X Yosemite 10.10.5, ...
Read more >
If Safari isn't loading websites or quits on your iPhone, iPad, or ...
If you can't load a website or webpage, or Safari quits unexpectedly, follow these steps.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found