[BUG] Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten
See original GitHub issueOn 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:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.🎉 This issue has been resolved in version 0.21.1 🎉
The release is available on:
Your semantic-release bot 📦🚀