Skip to content

Sending runtime version expresion rather than actual version during installation on device. #5651

Open
@jalberto-ghub

Description

@jalberto-ghub

Issue Description

When I have on package.json:

"@nativescript/android": "^8.2.2",

On my Samsung Galaxy phone, I get an error during installation that the version ^8.2.2 is illegal.
NS seems to be sending the npm expression instead of the actual runtime version being installed.

Reproduction

On any project package.json change "@nativescript/android" to use an expression. And do ns run android
If your phone is lenient and accepts it, check the metadata on your phone and you will see the version number is the version expression; otherwise the install will be rejected.

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions