Error: Uncaught (in promise): in Edge browser


#1

Hello,
i have created an Ionic 3 app which run without any problem in Chrome and Firefox browser when i execute the “ionic serve command” but when i am trying to run my application in Edge browser i have the following error:

Error: Uncaught (in promise): Error: Unknown name.

Error: Unknown name.

at DefaultDomRenderer2.prototype.setAttribute (http://localhost:8100/build/main.js:33602:13)
at DebugRenderer2.prototype.setAttribute (http://localhost:8100/build/main.js:13654:9)
at createElement (http://localhost:8100/build/main.js:9649:13)
at createViewNodes (http://localhost:8100/build/main.js:12322:17)
at callViewAction (http://localhost:8100/build/main.js:12808:13)
at execComponentViewsAction (http://localhost:8100/build/main.js:12717:13)
at createViewNodes (http://localhost:8100/build/main.js:12391:5)
at createRootView (http://localhost:8100/build/main.js:12269:5)
at callWithDebugContext (http://localhost:8100/build/main.js:13484:9)
at debugCreateRootView (http://localhost:8100/build/main.js:12944:5)
at c (http://localhost:8100/build/polyfills.js:3:13529)
at Anonymous function (http://localhost:8100/build/polyfills.js:3:12891)
at NavControllerBase.prototype._fireError (http://localhost:8100/build/main.js:44104:13)
at NavControllerBase.prototype._failed (http://localhost:8100/build/main.js:44092:9)
at Anonymous function (http://localhost:8100/build/main.js:44147:46)
at t.prototype.invoke (http://localhost:8100/build/polyfills.js:3:9186)
at onInvoke (http://localhost:8100/build/main.js:4427:21)
at t.prototype.invoke (http://localhost:8100/build/polyfills.js:3:9186)
at r.prototype.run (http://localhost:8100/build/polyfills.js:3:4426)
at Anonymous function (http://localhost:8100/build/polyfills.js:3:14067)

Because the problem was not clear i created new ionic app and i started to build it step by step testing in parallel with the Edge…i noticed that just added NavController and specially the below code

goToRegisterPage(event) :void
{
this.navController.push(RegisterPage);
}

the same error reappeared.

(i have import the core-js library to my index file)

What’s wrong? thank u in advance :slight_smile:


#2

is there no answer ? :frowning:


#3

it’s solved… I had a spelling mistake on an attribute in my html file