Skip to content

tns run--device NonexistentName retunrs different messages for ios and android #2446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pkoleva opened this issue Jan 23, 2017 · 3 comments
Closed
Milestone

Comments

@pkoleva
Copy link
Contributor

pkoleva commented Jan 23, 2017

tns emulate ios --device NonexistentName
Result: Cannot resolve the specified connected device by the provided index or identifier. To list currently connected devices and verify that the specified index or identifier exists, run 'tns device'.
tns emulate android --device NonexistentName
Result: Cannot find device with name: NonexistentName

Related issues #2131 #2349

@dtopuzov
Copy link
Contributor

dtopuzov commented Apr 20, 2017

Current state with {N} CLI 3.0.0-2017.4.13.3 and tns run

iOS:

Searching for devices...
Could not find device by specified identifier 'fake'. To list currently connected devices and verify that the specified identifier exists, run 'tns device'.

Android

Searching for devices...
Could not find an emulator image or identifier to run your project. Please run: "tns device <platform> --available-devices"

This once also looks related: #2728

@dtopuzov dtopuzov changed the title tns emulate --device NonexistentName retunrs different messages for ios and android tns run--device NonexistentName retunrs different messages for ios and android Apr 20, 2017
@dtopuzov dtopuzov modified the milestones: 3.0.0, 3.0.0-RC Apr 26, 2017
@yyosifov
Copy link
Contributor

yyosifov commented May 3, 2017

@dtopuzov Sorry, my bad - I've already fixed this in mobile-cli-lib but has forgotten to merge the PR there and update the submodule reference here. I just opened another PR: #2760

@pkoleva
Copy link
Contributor Author

pkoleva commented May 4, 2017

Related issue -> #2728

@dtopuzov dtopuzov modified the milestones: 3.1.0, 3.0.0 May 5, 2017
dtopuzov added a commit to NativeScript/nativescript-cli-tests that referenced this issue May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants