Skip to content

CLI Process hangs on native build failure #2975

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
petekanev opened this issue Jul 13, 2017 · 0 comments
Closed

CLI Process hangs on native build failure #2975

petekanev opened this issue Jul 13, 2017 · 0 comments
Assignees
Milestone

Comments

@petekanev
Copy link
Contributor

Tell us about the problem

The CLI run/build process will not terminate (exit) if the gradle script throws an error, instead a warning message will be printed:

Unable to apply changes on device: 192.168.50.101:5555. Error is: Command gradlew.bat failed with exit code 1.

Which platform(s) does your issue occur on?

Tested on Android, have not checked if its present for iOS builds

Please provide the following version numbers that your issue occurs with:

  • CLI: 3.1.2
  • Runtime(s): 3.1

Please tell us how to recreate the issue in as much detail as possible.

tns create testclicrash
cd testclicrash
tns plugin add nativescript-social-login
tns run android

Replace tns plugin add nativescript-social-login with any other possible method to crash the runtime build. The nativescript-social-login in particular crashes the build because it requires user configuration as explained in its respective README.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

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

4 participants