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.

[BUG] Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten

See original GitHub issue

On iOS platform the cordova application don’t start and in console output I see next 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.)

Reproduced on iOS app start.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
maxprilutskiycommented, Jun 18, 2020

@samval starting from v0.21.1 the NPM version of the SDK doesn’t include polyfills. From now on we also mention that fact in the repo’s README.

0reactions
travis-tfcommented, Jun 18, 2020

🎉 This issue has been resolved in version 0.21.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unhandled promise rejection: Zone.js has detected that ...
It worked for me when I updated my zone.js package to the latest version by running npm install zone.js@latest --save .
Read more >
Zone.js has detected that ZoneAwarePromise `(window|global ...
Error: "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten. Most likely cause is that a Promise ...
Read more >
Error: Zone.js has detected that ZoneAwarePromise `(window|global ...
Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.
Read more >
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 ...
Read more >
Js (forked) - StackBlitz
Promise !==D. ZoneAwarePromise)throw new Error("Zone.js has. detected that ZoneAwarePromise `(window|. global).Promise` has been overwritten.\nMost.
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