NativeScript / NativeScript/nativescript-cli
Livesync fails when runtime version is tag string
まだ誰も着手していません。
- 主要言語
- 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
- Set
nextversion tag to either ios or android runtime versions. - Run
tns run. This changes the runtime version to the actual next version string. - Set the runtime version tag to
nextagain - this simulates checking out another branch. - Run
tns runagain.
Result: fails withinvalid version: nextafter build.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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