PWA rendered as blank page on Edge


#1

Hi,

I made a PWA using Ionic. It works very well on Chrome, Mozilla, Opera, Safari… But with Edge I just get a blank page with a console error and I don’t understand why.

It could be usefull to say the project don’t use cordova.


Ionic info :
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0

local packages:
@ionic/app-scripts : 3.1.8
Ionic Framework : ionic-angular 3.9.2

System:
Node : v9.11.1
npm : 5.6.0
OS : macOS High Sierra

Misc:
backend : pro


Error :

[object Error]: {description: "Unable to get property 'then' of undefined or null reference", message: "Unable to get property 'then' of undefined or null reference", number: -2146823281, stack: "TypeError: Unable to get property 'then' of undefined or null reference at l (https://MYAPP.fr/MYAPP-support/build/main.js:1:58727) at Oe (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:24447) at we (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:23305) at $e (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:34633) at Ze (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:33419) at pn (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:43638) at e.prototype.create (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:94039) at e.prototype.create (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:64461) at t.prototype.createComponent (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:96151) at e.prototype.ngOnInit (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:389332)"}
description: "Unable to get property 'then' of undefined or null reference"
message: "Unable to get property 'then' of undefined or null reference"
number: -2146823281
stack: "TypeError: Unable to get property 'then' of undefined or null reference at l (https://MYAPP.fr/MYAPP-support/build/main.js:1:58727) at Oe (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:24447) at we (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:23305) at $e (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:34633) at Ze (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:33419) at pn (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:43638) at e.prototype.create (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:94039) at e.prototype.create (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:64461) at t.prototype.createComponent (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:96151) at e.prototype.ngOnInit (https://MYAPP.fr/MYAPP-support/build/vendor.js:1:389332)"

Thanks for help,
Lucas