Skip to content

Doctor command fails when ANDROID_HOME is not set #2905

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
rosen-vladimirov opened this issue Jun 19, 2017 · 0 comments
Closed

Doctor command fails when ANDROID_HOME is not set #2905

rosen-vladimirov opened this issue Jun 19, 2017 · 0 comments
Assignees
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Tell us about the problem

In case ANDROID_HOME is not set, tns doctor fails with:
Path must be a string, received undefined.

Which platform(s) does your issue occur on?

iOS/Android/Both - not applicable

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

  • CLI: (run tns --version to fetch it) - @next
  • Cross-platform modules: (check the 'version' attribute in the node_modules/tns-core-modules/package.json file in your project) - not applicable
  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project) - not applicable
  • Plugin(s): (look for the version number in the package.json file of your
    project) - not applicable

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

Remove your ANDROID_HOME environment variable and execute
tns doctor

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

2 participants