NativeScript / NativeScript/nativescript-cli

ns devices not working

Open
#5,455 13 comments 13 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.