Not able to install on Mac


#1

Hi,

I have the following in my .zshrc.


###-tns-completion-start-###
if [ -f /Users/sokada/.tnsrc ]; then 
    source /Users/sokada/.tnsrc 
fi
###-tns-completion-end-###
# Added by install_latest_perl_osx.pl
#[ -r /Users/sokada/.bashrc ] && source /Users/sokada/.bashrc

# added by Anaconda2 4.4.0 installer
export PATH="/Users/sokada/anaconda/bin:$PATH"
export ANDROID_HOME=/usr/local/Caskroom/android-sdk/3859397,26.0.1
export JAVA_HOME=/Library/Java/Home

When I run tns doctor, I get the following error.

➜ ~ tns doctor
Verifying CocoaPods. This may take more than a minute, please be patient.
◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◜ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◠ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◝ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◞ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◡ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fo ◟ Installing iOS runtime.⸨ ░░░░░░░░░░░⸩ ⠴ extract:tns-ios: verb lock using /Users/sokada/.npm/_locks/staging-a0675388a9bd6d2f.lock fonpm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN nativescript-check-cocoapods@0.0.1 No description
npm WARN nativescript-check-cocoapods@0.0.1 No repository field.
npm WARN nativescript-check-cocoapods@0.0.1 No license field.

  • tns-ios@3.1.0
    added 1 package in 7.34s
    ◜ Verifying CocoaPods. This may take some time, please be patient…
    You need to have Android SDK 22 or later and the latest Android Support Repository installed on your system.
    Run $ $ANDROID_HOME/tools/bin/sdkmanager to manage the Android Support Repository.

There seem to be issues with your configuration.

What do I need to do in order to solve it?


#2

Are you able to type tns --version to test whether anything was installed? Sometimes tns doctor gives funny advice.


#3

Thanks, I sorted it out.


#4

Hi,

How did you sort this out? Thanks.

Seyed Ismail.