Build does not work on edge browser

I try to publish my app using

ionic build --prod --service-worker

all right, except in Ms edge Browser.

Does anyone know what’s going on?

What does “does not work” mean? What error are you getting?

What is your ionic info output for the project?

same here. ionic-v4, index.html not working like v3 in browser after creating build.

ionic info


ionic (Ionic CLI) : 4.0.3 (C:\Users\gelton.cruz\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.0
@angular-devkit/core : 0.7.0-rc.3
@angular-devkit/schematics : 0.7.0-rc.3
@angular/cli : 6.0.8
@ionic/ng-toolkit : 1.0.0
@ionic/schematics-angular : 1.0.1


NodeJS : v10.6.0 (C:\Program Files\nodejs\node.exe)
npm : 6.1.0
OS : Windows 10

You should upgrade to a newer beta,

Also: You should answer the other questions I posted.

Ok! i need learn
how work in v4.?

I had missed version:: my version is @ionic/angular”: "^4.0.0-beta.2"

Hi @Sujan12, sorry for the less details.

The problem is with the HTTP request. When I try to do a GET request I received an console error. See the details:

My .ts code

      .get<any[]>(this.url) //the return is an array
      .pipe(map(data => data[0]))
        value => {
          console.log(value); //this line is not called

Edge Console ERROR on start of the application:

[object Object]: {error: Object, headers: Object, message: "Http failure response for (unknown url): 0 Unknown Error", name: "HttpErrorResponse", ok: false...}

error: Object

headers: Object
message: "Http failure response for (unknown url): 0 Unknown Error"
name: "HttpErrorResponse"
ok: false
status: 0
statusText: "Unknown Error"
url: null

__proto__: Object

But the URL is right because the project ran withou errors on Chrome and Firefox.