NativeScript / NativeScript/nativescript-cli
Livesync fails when runtime version is tag string
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
將 Android 或 iOS runtime 版本設為 next 後執行 tns run,以重現此問題,然後還原該標籤後再次執行。追蹤 CLI 在 deploy 步驟附近對 runtime 版本的處理;當第二次執行能夠成功建置、安裝並 deploy,且未回報 invalid version: next 時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, ios, javascript
- 領域
- cli, mobile
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100