NativeScript / NativeScript/nativescript-cli
ns devices not working
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
os: linux mint 20
cmd: ns --version
7.1.1
cmd: ns devices
Connected devices & emulators
Searching for devices...
Error: spawn /usr/lib/node_modules/nativescript/node_modules/ios-device-lib/bin/linux/x64/ios-device-lib ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:470:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
But if I use ns run android, it is working well
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 ns devices on Linux Mint 20 and inspect the reported ios-device-lib/bin/linux/x64/ios-device-lib path and the ENOENT error. Compare this with the working ns run android flow; the issue is done when device discovery no longer fails with ENOENT.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, javascript, node.js
- Domain
- cli, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100