NativeScript / NativeScript/nativescript-cli

Livesync fails when runtime version is tag string

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

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

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

説明

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.3.2
  • Cross-platform modules: 5.3.1
  • Android Runtime: next
  • iOS Runtime: next

Describe the bug
When developing the tns-core-modules we often have next version tags set to the runtimes. This works fine with initial tns run, but if I checkout another branch, the next version tag returns and run the app again, it is built, installed and fails at deploy with invalid version: next.

To Reproduce

  1. Set next version tag to either ios or android runtime versions.
  2. Run tns run. This changes the runtime version to the actual next version string.
  3. Set the runtime version tag to next again - this simulates checking out another branch.
  4. Run tns run again.
    Result: fails with invalid version: next after build.

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

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

はじめの一歩

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

調査の方向性

Android または iOS の runtime version を next に設定して tns run を実行し、そのタグを復元した後にもう一度実行して、問題を再現します。deploy ステップ周辺での CLI の runtime version の処理を追跡します。2 回目の実行で invalid version: next を報告せず、ビルド、インストール、deploy が正常に完了すれば完了です。

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

評価

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

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

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