NativeScript / NativeScript/nativescript-cli
couldn't open an app if you make a change in debug command with bundle
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: 5.2.4
Describe the bug
When you run debug with bundle and make a change, you will see exception:
Unable to start application org.nativescript.appNG on device f42eb590ec7ad920c8c0545a308e1a1d2551218b. Try starting it manually.
Cannot connect to device socket. The error message is 'The application org.nativescript.appNG does not appear to be running on f42eb590ec7ad920c8c0545a308e1a1d2551218b or is not built with debugging enabled. Try starting the application manually.'.
NativeScript debugger was not able to get inspector socket port on device f42eb590ec7ad920c8c0545a308e1a1d2551218b for application org.nativescript.appNG
To Reproduce
- tns create app --ng
- tns debug ios --bundle
- make a change
- when app restarts it couldn't open
Expected behavior
to open an app
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
Start by reproducing the issue with tns create app --ng and tns debug ios --bundle, then inspect the CLI's iOS debug restart path after a source change. Done means the app restarts and opens normally without the debugger socket errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100