Skip to content

0.0.46 with {N} 2.0 when navigating - page-router-outlet: componentView.parent.removeChild is not a function #207

@NathanWalker

Description

@NathanWalker
file:///app/tns_modules/angular2/src/platform/server/parse5_adapter.js:56:75: EXCEPTION:
Error: Uncaught (in promise): TypeError: componentView.parent.removeChild is not a function. 
(In 'componentView.parent.removeChild(componentView)', 'componentView.parent.removeChild' is undefined)

Issue stems from here:
https://github.com/NativeScript/nativescript-angular/blob/master/src/nativescript-angular/router/page-router-outlet.ts#L158

parent.removeChild simply doesn't exist anymore. This is likely due to beta.16 breaking changes... trying to find a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions