NativeScript / NativeScript/nativescript-cli
Could not start device session when devices are disconnected
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with tns create app --js, tns test init, and tns test ios, then disconnect the device from USB and WiFi before making a change. Trace the handling of the reported “Could not start device session” error; done means changes no longer produce this exception after the device disconnects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, javascript
- Domain
- cli, mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100