Skip to content

"tns create MyAppName" is a zombie - creates directory and nothing more #1380

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
mike-ense opened this issue Jan 7, 2016 · 6 comments
Closed
Assignees
Labels

Comments

@mike-ense
Copy link

Hi,

Doing "tns create MyAppName" only creates the directory and then nothing more.

Find the strace attached: strace.txt.

Do you see any plausible reason for this?

$ cat /etc/debian_version says 7.2, and uname -a says Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux .

If I can debug this further please let me know.

Thanks,
Mike

@teobugslayer
Copy link
Contributor

Hi, can you execute tns create MyAppName --log trace > log.txt and send me the file?

@mike-ense
Copy link
Author

Done

@teobugslayer
Copy link
Contributor

Hi Mike,

from the logs you've sent, it looks like you have not set up and configured the Android SDK yet. Without it, you cannot build your app for Android. Also, developing for iOS is available only when running NativeScript on a Mac because it needs Apple Xcode.

Please check our set up guide for Linux how to configure your machine.

Furthermore, if you are behind a proxy, you may need to configure both NativeScript (described here) and Java.

@mike-ense
Copy link
Author

@teobugslayer , can you reproduce the problem by doing "export ANDROID_HOME=ABC; tns create testproject" ? :)

@mike-ense
Copy link
Author

@teobugslayer , wait - weird - neither of messing up ANDROID_HOME nor "mv /usr/bin/java /usr/bin/javao" has any effect. I guess those should have been sufficient to make {N} not be able to reach them. I wonder what then caused the previous zombification.

@enchev
Copy link
Contributor

enchev commented Jun 9, 2016

Cannot reproduce with latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants