Skip to content

Instantly share code, notes, and snippets.

@sushant-j
Created November 3, 2017 07:22
Show Gist options
  • Select an option

  • Save sushant-j/9f8de9591009ed849b3efe17aeaeecbb to your computer and use it in GitHub Desktop.

Select an option

Save sushant-j/9f8de9591009ed849b3efe17aeaeecbb to your computer and use it in GitHub Desktop.
Log trace after running tns doctor.
Loading extensions.
Exec uname -a
stdout: Linux sushant-Inspiron-3543 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
stderr:
Exec npm -v
stdout: 4.6.1
stderr:
spawn: java "-version"
Exec node-gyp -v
stdout:
stderr: /bin/sh: 1: node-gyp: not found
Error while executing node-gyp -v: Command failed: node-gyp -v
/bin/sh: 1: node-gyp: not found
Exec null version
stdout:
stderr: /bin/sh: 1: null: not found
Error while executing null version: Command failed: null version
/bin/sh: 1: null: not found
spawn: emulator "-help"
The result of checking is Android Emulator installed is:
- stdout:
- stderr: spawn emulator ENOENT
Exec mono --version
stdout:
stderr: /bin/sh: 1: mono: not found
Error while executing mono --version: Command failed: mono --version
/bin/sh: 1: mono: not found
Exec git --version
stdout: git version 2.7.4
stderr:
Exec gradle -v
stdout:
stderr: /bin/sh: 1: gradle: not found
Error while executing gradle -v: Command failed: gradle -v
/bin/sh: 1: gradle: not found
Exec "javac" -version
stdout:
stderr: javac 1.8.0_151
System information:
{ procInfo: 'nativescript/3.3.0',
platform: 'linux',
os: 'Linux sushant-Inspiron-3543 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\n',
shell: '/bin/bash',
dotNetVer: null,
procArch: 'x64',
nodeVer: 'v8.2.1',
npmVer: '4.6.1',
javaVer: '1.8.0',
nodeGypVer: null,
xcodeVer: null,
xcodeprojGemLocation: null,
itunesInstalled: false,
cocoapodVer: null,
adbVer: null,
emulatorInstalled: false,
monoVer: null,
gitVer: '2.7.4',
gradleVer: null,
javacVersion: '1.8.0_151' }
Looking for project in '/home/nodemon'
Looking for project in '/home'
Looking for project in '/'
No project found at or above '/home/nodemon'.
Unable to find project. projectDir: null, options.path: undefined, /home/nodemon
No project found at or above '%s' and neither was a --path specified.
Initializing analytics statuses.
Analytics statuses: { TrackFeatureUsage: 'disabled', TrackExceptions: 'disabled' }
WARNING: adb from the Android SDK is not installed or is not configured properly.
For Android-related operations, the NativeScript CLI will use a built-in version of adb.
To avoid possible issues with the native Android emulator, Genymotion or connected
Android devices, verify that you have installed the latest Android SDK and
its dependencies as described in http://developer.android.com/sdk/index.html#Requirements
WARNING: The Android SDK is not installed or is not configured properly.
You will not be able to build your projects for Android and run them in the native emulator.
To be able to build for Android and run apps in the native emulator, verify that you have
installed the latest Android SDK and its dependencies as described in http://developer.android.com/sdk/index.html#Requirements
NOTE: You can develop for iOS only on Mac OS X systems.
To be able to work with iOS devices and projects, you need Mac OS X Mavericks or later.
Installed Android Targets are: []
Selected targetSdk is: undefined
Selected AppCompat version is: undefined
The ANDROID_HOME environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-related operations for Android.
To be able to perform Android build-related operations, set the ANDROID_HOME variable to point to the root of your Android SDK installation directory.
Cannot find a compatible Android SDK for compilation. To be able to build for Android, install Android SDK 22 or later.
Run $ sdkmanager to manage your Android SDK versions.
You need to have the Android SDK Build-tools installed on your system. You can install any version in the following range: '>=23 <=26'.
Run $ sdkmanager from your command-line to install required Android Build Tools. In case you already have them installed, make sure ANDROID_HOME environment variable is set correctly.
You need to have Android SDK 22 or later and the latest Android Support Repository installed on your system.
Run $ sdkmanager to manage the Android Support Repository. In case you already have it installed, make sure ANDROID_HOME environment variable is set correctly.
There seem to be issues with your configuration.
Exec npm view nativescript dist-tags --json
stdout: {
"latest": "3.3.0",
"next": "3.4.0-2017-11-02-10049",
"rc": "3.3.0-2017-10-23-10012"
}
stderr:
Using version 3.3.0.
Exec npm view tns-core-modules dist-tags --json
stdout: {
"latest": "3.3.0",
"next": "3.4.0-2017-11-2-1",
"rc": "3.3.0-rc-2017.10.24.7"
}
stderr:
Using version 3.3.0.
Exec npm view tns-ios dist-tags --json
stdout: {
"latest": "3.3.0",
"next": "3.4.0-2017-10-26-1",
"rc": "3.3.0-rc-2017-10-24-1"
}
stderr:
Using version 3.3.0.
Exec npm view tns-android dist-tags --json
stdout: {
"latest": "3.3.0",
"next": "3.4.0-2017-10-31-1",
"rc": "3.3.0-rc-2017.10.19.4"
}
stderr:
Using version 3.3.0.
Your components are up-to-date:
nativescript,tns-core-modules,tns-android,tns-ios
When you file an issue, these warnings will help the NativeScript team to investigate, identify, and resolve the report.
Please, ignore them if you are not experiencing any issues with NativeScript.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment