NativeScript / NativeScript/nativescript-cli

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

オープン
#5,651 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug-pending-triage
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
8

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

package.json の依存関係式から始め、デバイス上で ns run android を実行して問題を再現します。Android のインストールメタデータが組み立てられる箇所を追跡し、その後、デバイスが package.json の式ではなく解決済みのランタイムバージョンを受け取ることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, javascript
領域
cli, mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。