Discussions
Angular 6 integration, zone.js error
Hi,
I have integrated the push service to our webshop. But in some random page loads it gives me this error message:
Uncaught 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.)
at Function.t.assertZonePatched (VM244 polyfills.632d2aa9e3109d65442d.js:1)
at new t (VM246 main.c62f800d1ac653ee38b8.js:1)
at t.bootstrapModuleFactory (VM246 main.c62f800d1ac653ee38b8.js:1)
at HTMLDocument. (VM246 main.c62f800d1ac653ee38b8.js:1)
at e.invokeTask (VM244 polyfills.632d2aa9e3109d65442d.js:1)
at t.runTask (VM244 polyfills.632d2aa9e3109d65442d.js:1)
at t.invokeTask [as invoke] (VM244 polyfills.632d2aa9e3109d65442d.js:1)
at _ (VM244 polyfills.632d2aa9e3109d65442d.js:1)
Can you help me to solve this issue?
Thanks.
Regards Gabor