Skip to content

Routing issue while upgrading NativeScript version 7 to 8 #9985

@lakhansharma126

Description

@lakhansharma126

Issue Description

Our project is based on Native Script 7. We are transferring it to nativescript 8, we are facing routing issue. We are using this method for routing from navigate one page to another.

this.routerExtensions.navigate(["search/licenseplate-search"], {
relativeTo: this.activatedRoute,
}),

When we come back from that page. we use this method
this._routerExtensions.back({
relativeTo: this._activatedRoute,
});

We are getting this error when we come back by clicking on the back button.

CONSOLE ERROR: ns-router: No outlet found relative to activated route

Reproduction

No response

Relevant log output (if applicable)

No response

Environment

No response

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-pending-triageReported bug, pending triage to confirm.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions