Uncaught Error: Zone.js has detected that ZoneAwarePromise #401
Description
Short description of the problem:
Prod build in a android device throw the following error at bootstrap time:
"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.)"
Steps to reproduce:
- Update app-script to the lastest version:
npm install @ionic/app-scripts@0.0.44 --save-dev
or
npm install @ionic/app-scripts@latest --save-dev
-
Run project on device:
ionic run android
-
Open the app.
The screen becomes white and app doesn't load.
Inspecting the device shows the error above.
Which @ionic/app-scripts version are you using?
ionic/app-scripts 0.0.44
Roll-backing to 0.0.39 (my safe zone) resolves the issue.