NativeScript / NativeScript/nativescript-cli
Could not start device session when devices are disconnected
還沒有人認領這個 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: 6.1.0
Describe the bug
Your device is connected with USB and WiFi. If you disconnect it from Wifi and USB and make a change, you will see error:
Unable to apply changes for device: d97ff43f5d13677a2fb09fc9b4da3066464ff5f4. Error is: Could not start device session.
To Reproduce
- tns create app --js
- tns test init
- tns test ios
- disconnect device from USB nad WiFi and make a change. You will see exception.
Expected behavior
should continue to work
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
使用 tns create app --js、tns test init 和 tns test ios 重現失敗,然後在進行變更之前中斷裝置與 USB 和 WiFi 的連線。追蹤所回報的「Could not start device session」錯誤處理;完成的標準是裝置中斷連線後,變更不再產生此例外。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- ios, javascript
- 領域
- cli, mobile-dev, testing-qa
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100