I'm having troubles installing nativescript-cli. First I uninstalled the version I already had of node.js then installed it again via the package manager like so:
curl "https://nodejs.org/dist/latest/node-${VERSION:-$(wget -qO- https://nodejs.org/dist/latest/ | sed -nE 's|.*>node-(.*)\.pkg</a>.*|\1|p')}.pkg" > "$HOME/Downloads/node-latest.pkg" && sudo installer -store -pkg "$HOME/Downloads/node-latest.pkg" -target "/"
Then tried npm install nativescript -g but it gave some permission error:
$ npm install nativescript -g
> [email protected] preuninstall /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript
> node preuninstall.js
npm ERR! path /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/node_modules/.bin
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall rmdir
npm ERR! Error: EACCES: permission denied, rmdir '/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/node_modules/.bin'
npm ERR! { Error: EACCES: permission denied, rmdir '/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/node_modules/.bin'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rmdir',
npm ERR! path: '/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/node_modules/.bin' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/user/.npm/_logs/2017-12-24T22_20_57_856Z-debug.log
Also tried:
$ sudo npm install nativescript -g --unsafe-perm
Password:
/Users/user/.nvm/versions/node/v8.4.0/bin/tns -> /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/bin/tns
/Users/user/.nvm/versions/node/v8.4.0/bin/nativescript -> /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/bin/tns
> [email protected] postinstall /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript
> node postinstall.js
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
WARNING: xcodeproj gem is not installed or is not configured properly.
You will not be able to build your projects for iOS.
To be able to build for iOS and run apps in the native emulator, verify that you have installed xcodeproj.
WARNING: CocoaPods is not installed or is not configured properly.
You will not be able to build your projects for iOS if they contain plugin with CocoaPod file.
To be able to build such projects, verify that you have installed CocoaPods.
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.
? Do you want to visit the official documentation? No
? Do you want to run the setup script? Yes
spawn EACCES
Failed to display command help { Error: Unknown command 'post-install-cli'. Try '$ tns help' for a full list of supported commands.
at Errors.fail (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at Errors.failWithoutHelp (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:134:21)
at HelpService.<anonymous> (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/services/help-service.js:140:26)
at Generator.next (<anonymous>)
at fulfilled (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/services/help-service.js:4:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
name: 'Exception',
message: 'Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.',
stack: 'Error: Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.\n at Errors.fail (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:125:28)\n at Errors.failWithoutHelp (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:134:21)\n at HelpService.<anonymous> (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/services/help-service.js:140:26)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/services/help-service.js:4:58)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:188:7)',
errorCode: 127,
suppressCommandHelp: true,
proxyAuthenticationRequired: false }
/Users/user/.nvm/versions/node/v8.4.0/lib
โโโ [email protected]
These are the version I currently have installed:
$ node -v
v8.4.0
$ npm -v
4.6.1
After uninstalling everything related to node, npm and nvm, I tried installing the official nvm:
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
Then installing node 6:
$ nvm install v6.12.2
$ nvm use v6.12.2
$ node -v
v6.12.2
$ npm -v
3.10.10
Also installed xcodeproj and cocoapodsas suggested here, then tried once again npm i -g nativescript and this is what I got:
$ npm install -g nativescript
npm WARN checkPermissions Missing write access to /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript
/Users/user/.nvm/versions/node/v6.12.2/lib
โโโ [email protected]
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/user/.nvm/versions/node/v6.12.2/bin/node" "/Users/user/.nvm/versions/node/v6.12.2/bin/npm" "install" "-g" "nativescript"
npm ERR! node v6.12.2
npm ERR! npm v3.10.10
npm ERR! path /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, access '/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/user/npm-debug.log
With sudo:
$ sudo npm install -g nativescript
Password:
> [email protected] preuninstall /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript
> node preuninstall.js
Failed to complete all pre-uninstall steps.
/Users/user/.nvm/versions/node/v6.12.2/bin/tns -> /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/bin/tns
/Users/user/.nvm/versions/node/v6.12.2/bin/nativescript -> /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/bin/tns
> [email protected] postinstall /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript
> node postinstall.js
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
Verifying CocoaPods. This may take more than a minute, please be patient.
npm WARN locking Error: EACCES: permission denied, open '/Users/user/.npm/_locks/staging-54b9ac15da48e513.lock'
npm WARN locking at Error (native)
npm WARN locking /Users/user/.npm/_locks/staging-54b9ac15da48e513.lock failed { Error: EACCES: permission denied, open '/Users/user/.npm/_locks/staging-54b9ac15da48e513.lock'
npm WARN locking at Error (native)
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking syscall: 'open',
npm WARN locking path: '/Users/user/.npm/_locks/staging-54b9ac15da48e513.lock' }
[email protected] /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/nativescript-check-cocoapods1171125-17662-c6q1vw.6wuy5y7gb9
โโโ [email protected]
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! Darwin 16.7.0
npm ERR! argv "/Users/user/.nvm/versions/node/v6.12.2/bin/node" "/Users/user/.nvm/versions/node/v6.12.2/bin/npm" "install" "tns-ios" "--global" "false" "--production" "--save" "--ignoreScripts" "--ignore-scripts"
npm ERR! node v6.12.2
npm ERR! npm v3.10.10
npm ERR! path /Users/user/.npm/_locks/staging-54b9ac15da48e513.lock
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/Users/user/.npm/_locks/staging-54b9ac15da48e513.lock'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, open '/Users/user/.npm/_locks/staging-54b9ac15da48e513.lock'
npm ERR! at Error (native)
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/Users/user/.npm/_locks/staging-54b9ac15da48e513.lock' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/nativescript-check-cocoapods1171125-17662-c6q1vw.6wuy5y7gb9/npm-debug.log
WARNING: There was a problem with CocoaPods
Verify that CocoaPods are configured properly.
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.
? Do you want to visit the official documentation? No
? Do you want to run the setup script? Yes
spawn EACCES
Failed to display command help { Error
at Object.<anonymous> (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/common/errors.js:16:23)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/nativescript-cli.js:15:18)
at Module._compile (module.js:570:32)
name: 'Exception',
message: 'Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.',
errorCode: 127,
suppressCommandHelp: true,
proxyAuthenticationRequired: false }
Error while reporting exception: Error: EACCES: permission denied, open '/Users/user/.local/share/.nativescript-cli/user-settings.json.lock'
/Users/user/.nvm/versions/node/v6.12.2/lib
โโโ [email protected]
$ tns doctor --log trace
Loading extensions.
execFile: /Users/user/Library/Android/sdk/platform-tools/adb "help"
Exec uname -a
stdout: Darwin Mac.local 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64
stderr:
Exec npm -v
stdout: 3.10.10
stderr:
spawn: java "-version"
Exec node-gyp -v
stdout: v3.6.2
stderr:
Exec xcodebuild -version
stdout: Xcode 9.0.1
Build version 9A1004
stderr:
Exec gem which xcodeproj
stdout: /Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.5.4/lib/xcodeproj.rb
stderr:
Exec pod --version
stdout: 1.3.1
stderr:
Exec '/Users/user/Library/Android/sdk/platform-tools/adb' version
stdout: Android Debug Bridge version 1.0.36
Revision 0e9850346394-android
stderr:
spawn: /Users/user/Library/Android/sdk/emulator/emulator "-help"
Result when throw error is false:
{ stdout: 'Android Emulator usage: emulator [options] [-qemu args]
options:
-list-avds list available AVDs
-sysdir <dir> search for system disk images in <dir>
-system <file> read initial system image from <file>
-writable-system make system image writable after \'adb remount\'
-datadir <dir> write user data into <dir>
-kernel <file> use specific emulated kernel
-ramdisk <file> ramdisk image (default <system>/ramdisk.img
-image <file> obsolete, use -system <file> instead
-initdata <file> same as \'-init-data <file>\'
-data <file> data image (default <datadir>/userdata-qemu.img
-partition-size <size> system/data partition size in MBs
-cache <file> cache partition image (default is temporary file)
-cache-size <size> cache partition size in MBs
-no-cache disable the cache partition
-nocache same as -no-cache
-sdcard <file> SD card image (default <datadir>/sdcard.img
-snapstorage <file> file that contains all state snapshots (default <datadir>/snapshots.img)
-no-snapstorage do not mount a snapshot storage file (this disables all snapshot functionality)
-snapshot <name> name of snapshot within storage file for auto-start and auto-save (default \'default-boot\')
-no-snapshot perform a full boot and do not do not auto-save, but qemu vmload and vmsave operate on snapstorage
-no-snapshot-save do not auto-save to snapshot on exit: abandon changed state
-no-snapshot-load do not auto-start from snapshot: perform a full boot
-snapshot-list show a list of available snapshots
-no-snapshot-update-time do not do try to correct snapshot time on restore
-wipe-data reset the user data image (copy it from initdata)
-avd <name> use a specific android virtual device
-skindir <dir> search skins in <dir> (default <system>/skins)
-skin <name> select a given skin
-no-skin deprecated: create an AVD with no skin instead
-noskin same as -no-skin
-memory <size> physical RAM size in MBs
-cores <number> Set number of CPU cores to emulator
-accel <mode> Configure emulation acceleration
-no-accel Same as \'-accel off\'
-ranchu Use new emulator backend instead of the classic one
-engine <engine> Select engine. auto|classic|qemu2
-netspeed <speed> maximum network download/upload speeds
-netdelay <delay> network latency emulation
-netfast disable network shaping
-code-profile <name> enable code profiling
-show-kernel display kernel messages
-shell enable root shell on current terminal
-no-jni disable JNI checks in the Dalvik runtime
-nojni same as -no-jni
-logcat <tags> enable logcat output with given tags
-no-audio disable audio support
-noaudio same as -no-audio
-audio <backend> use specific audio backend
-radio <device> redirect radio modem interface to character device
-port <port> TCP port that will be used for the console
-ports <consoleport>,<adbport> TCP ports used for the console and adb bridge
-onion <image> use overlay PNG image over screen
-onion-alpha <%age> specify onion-skin translucency
-onion-rotation 0|1|2|3 specify onion-skin rotation
-dpi-device <dpi> specify device\'s resolution in dpi (default 165)
-scale <scale> scale emulator window (deprecated)
-http-proxy <proxy> make TCP connections through a HTTP/HTTPS proxy
-timezone <timezone> use this timezone instead of the host\'s default
-dns-server <servers> use this DNS server(s) in the emulated system
-cpu-delay <cpudelay> throttle CPU emulation
-no-boot-anim disable animation for faster boot
-no-window disable graphical window display
-version display emulator version number
-report-console <socket> report console port to remote socket
-gps <device> redirect NMEA GPS to character device
-shell-serial <device> specific character device for root shell
-tcpdump <file> capture network packets to file
-bootchart <timeout> enable bootcharting
-charmap <file> use specific key character map
-prop <name>=<value> set system property on boot
-shared-net-id <number> join the shared network, using IP address 10.1.2.<number>
-nand-limits <nlimits> enforce NAND/Flash read/write thresholds
-gpu <mode> set hardware OpenGLES emulation mode
-camera-back <mode> set emulation mode for a camera facing back
-camera-front <mode> set emulation mode for a camera facing front
-webcam-list lists web cameras available for emulation
-screen <mode> set emulated screen mode
-force-32bit always use 32-bit emulator
-selinux <disabled|permissive> Set SELinux to either disabled or permissive mode
-unix-pipe <path> Add <path> to the list of allowed Unix pipes
-fixed-scale Use fixed 1:1 scale for the initial emulator window.
-wait-for-debugger Pause on launch and wait for a debugger process to attach before resuming
-skip-adb-auth Skip adb authentication dialogue
-qemu args... pass arguments to qemu
-qemu -h display qemu help
-verbose same as \'-debug-init\'
-debug <tags> enable/disable debug messages
-debug-<tag> enable specific debug messages
-debug-no-<tag> disable specific debug messages
-help print this help
-help-<option> print option-specific help
-help-disk-images about disk images
-help-debug-tags debug tags for -debug <tags>
-help-char-devices character <device> specification
-help-environment environment variables
-help-virtual-device virtual device management
-help-sdk-images about disk images when using the SDK
-help-build-images about disk images when building Android
-help-all prints all help content
',
stderr: '',
exitCode: 0 }
The result of checking is Android Emulator installed is:
- stdout: Android Emulator usage: emulator [options] [-qemu args]
options:
-list-avds list available AVDs
-sysdir <dir> search for system disk images in <dir>
-system <file> read initial system image from <file>
-writable-system make system image writable after 'adb remount'
-datadir <dir> write user data into <dir>
-kernel <file> use specific emulated kernel
-ramdisk <file> ramdisk image (default <system>/ramdisk.img
-image <file> obsolete, use -system <file> instead
-initdata <file> same as '-init-data <file>'
-data <file> data image (default <datadir>/userdata-qemu.img
-partition-size <size> system/data partition size in MBs
-cache <file> cache partition image (default is temporary file)
-cache-size <size> cache partition size in MBs
-no-cache disable the cache partition
-nocache same as -no-cache
-sdcard <file> SD card image (default <datadir>/sdcard.img
-snapstorage <file> file that contains all state snapshots (default <datadir>/snapshots.img)
-no-snapstorage do not mount a snapshot storage file (this disables all snapshot functionality)
-snapshot <name> name of snapshot within storage file for auto-start and auto-save (default 'default-boot')
-no-snapshot perform a full boot and do not do not auto-save, but qemu vmload and vmsave operate on snapstorage
-no-snapshot-save do not auto-save to snapshot on exit: abandon changed state
-no-snapshot-load do not auto-start from snapshot: perform a full boot
-snapshot-list show a list of available snapshots
-no-snapshot-update-time do not do try to correct snapshot time on restore
-wipe-data reset the user data image (copy it from initdata)
-avd <name> use a specific android virtual device
-skindir <dir> search skins in <dir> (default <system>/skins)
-skin <name> select a given skin
-no-skin deprecated: create an AVD with no skin instead
-noskin same as -no-skin
-memory <size> physical RAM size in MBs
-cores <number> Set number of CPU cores to emulator
-accel <mode> Configure emulation acceleration
-no-accel Same as '-accel off'
-ranchu Use new emulator backend instead of the classic one
-engine <engine> Select engine. auto|classic|qemu2
-netspeed <speed> maximum network download/upload speeds
-netdelay <delay> network latency emulation
-netfast disable network shaping
-code-profile <name> enable code profiling
-show-kernel display kernel messages
-shell enable root shell on current terminal
-no-jni disable JNI checks in the Dalvik runtime
-nojni same as -no-jni
-logcat <tags> enable logcat output with given tags
-no-audio disable audio support
-noaudio same as -no-audio
-audio <backend> use specific audio backend
-radio <device> redirect radio modem interface to character device
-port <port> TCP port that will be used for the console
-ports <consoleport>,<adbport> TCP ports used for the console and adb bridge
-onion <image> use overlay PNG image over screen
-onion-alpha <%age> specify onion-skin translucency
-onion-rotation 0|1|2|3 specify onion-skin rotation
-dpi-device <dpi> specify device's resolution in dpi (default 165)
-scale <scale> scale emulator window (deprecated)
-http-proxy <proxy> make TCP connections through a HTTP/HTTPS proxy
-timezone <timezone> use this timezone instead of the host's default
-dns-server <servers> use this DNS server(s) in the emulated system
-cpu-delay <cpudelay> throttle CPU emulation
-no-boot-anim disable animation for faster boot
-no-window disable graphical window display
-version display emulator version number
-report-console <socket> report console port to remote socket
-gps <device> redirect NMEA GPS to character device
-shell-serial <device> specific character device for root shell
-tcpdump <file> capture network packets to file
-bootchart <timeout> enable bootcharting
-charmap <file> use specific key character map
-prop <name>=<value> set system property on boot
-shared-net-id <number> join the shared network, using IP address 10.1.2.<number>
-nand-limits <nlimits> enforce NAND/Flash read/write thresholds
-gpu <mode> set hardware OpenGLES emulation mode
-camera-back <mode> set emulation mode for a camera facing back
-camera-front <mode> set emulation mode for a camera facing front
-webcam-list lists web cameras available for emulation
-screen <mode> set emulated screen mode
-force-32bit always use 32-bit emulator
-selinux <disabled|permissive> Set SELinux to either disabled or permissive mode
-unix-pipe <path> Add <path> to the list of allowed Unix pipes
-fixed-scale Use fixed 1:1 scale for the initial emulator window.
-wait-for-debugger Pause on launch and wait for a debugger process to attach before resuming
-skip-adb-auth Skip adb authentication dialogue
-qemu args... pass arguments to qemu
-qemu -h display qemu help
-verbose same as '-debug-init'
-debug <tags> enable/disable debug messages
-debug-<tag> enable specific debug messages
-debug-no-<tag> disable specific debug messages
-help print this help
-help-<option> print option-specific help
-help-disk-images about disk images
-help-debug-tags debug tags for -debug <tags>
-help-char-devices character <device> specification
-help-environment environment variables
-help-virtual-device virtual device management
-help-sdk-images about disk images when using the SDK
-help-build-images about disk images when building Android
-help-all prints all help content
- stderr:
Exec mono --version
stdout:
stderr: /bin/sh: mono: command not found
Error while executing mono --version: Command failed: mono --version
/bin/sh: mono: command not found
Exec git --version
stdout: git version 2.13.5 (Apple Git-94)
stderr:
Exec gradle -v
stdout:
stderr: /bin/sh: gradle: command not found
Error while executing gradle -v: Command failed: gradle -v
/bin/sh: gradle: command not found
Exec "/usr/libexec/java_home/bin/javac" -version
stdout:
stderr: /bin/sh: /usr/libexec/java_home/bin/javac: Not a directory
Error while executing "/usr/libexec/java_home/bin/javac" -version: Command failed: "/usr/libexec/java_home/bin/javac" -version
/bin/sh: /usr/libexec/java_home/bin/javac: Not a directory
System information:
{ procInfo: 'nativescript/3.4.0',
platform: 'darwin',
os: 'Darwin Mac.local 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64
',
shell: '/bin/bash',
dotNetVer: null,
procArch: 'x64',
nodeVer: 'v6.12.2',
npmVer: '3.10.10',
javaVer: null,
nodeGypVer: 'v3.6.2
',
xcodeVer: 'Xcode 9.0.1
Build version 9A1004
',
xcodeprojGemLocation: '/Library/Ruby/Gems/2.0.0/gems/xcodeproj-1.5.4/lib/xcodeproj.rb
',
itunesInstalled: true,
cocoapodVer: '1.3.1',
adbVer: 'Android Debug Bridge version 1.0.36',
emulatorInstalled: true,
monoVer: null,
gitVer: '2.13.5 (Apple Git-94)',
gradleVer: null,
javacVersion: null }
Looking for project in '/Users/user'
Looking for project in '/Users'
Looking for project in '/'
No project found at or above '/Users/user'.
Unable to find project. projectDir: null, options.path: undefined, /Users/user
No project found at or above '%s' and neither was a --path specified.
Initializing analytics statuses.
Analytics statuses: { TrackFeatureUsage: 'enabled', TrackExceptions: 'enabled' }
spawn: node "/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/services/analytics/analytics-broker-process.js" "/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/bootstrap.js"
execFile: /Users/user/Library/Android/sdk/platform-tools/adb "help"
Verifying CocoaPods. This may take more than a minute, please be patient.
spawn: npm "install" "tns-ios" "--global" "false" "--production" "--save" "--ignoreScripts" "--ignore-scripts"
[email protected] /private/var/folders/xx/t7wrqqf50cz5rvj5_nl921vh0000gn/T/nativescript-check-cocoapods1171125-18163-b6f9mx.nv3eyojemi
โโโ [email protected]
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
spawn: npm "install" "tns-ios" "--global" "false" "--production" "--save" "--ignoreScripts" "--ignore-scripts" "--json" "--dry-run" "--prefix" "/var/folders/xx/t7wrqqf50cz5rvj5_nl921vh0000gn/T/nativescript-check-cocoapods1171125-18163-b6f9mx.nv3eyojemi"
spawn: pod "install"
โ Verifying CocoaPods. This may take some time, please be patient.Result when throw error is false:
{ stdout: 'Setting up CocoaPods master repo
$ /usr/bin/git clone https://github.com/CocoaPods/Specs.git master --progress
CocoaPods 1.4.0.rc.1 is available.
To update use: `sudo gem install cocoapods --pre`
[!] This is a test version we\'d love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.4.0.rc.1
Setup completed
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (1.3.4)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `__PROJECT_NAME__.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
',
stderr: ' Cloning into \'master\'...
remote: Compressing objects: 100% (543/543), done.
Receiving objects: 100% (1819999/1819999), 502.95 MiB | 404.00 KiB/s, done.
Resolving deltas: 100% (996046/996046), done.
Checking out files: 100% (205785/205785), done.
[!] Automatically assigning platform ios with version 8.0 on target __PROJECT_NAME__ because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
',
exitCode: 0 }
โ Verifying CocoaPods. This may take some time, please be patient.
Exec xcodebuild -version
stdout: Xcode 9.0.1
Build version 9A1004
stderr:
Installed Android Targets are: [ 'android-10',
'android-16',
'android-17',
'android-19',
'android-21',
'android-22',
'android-23',
'android-25',
'android-26' ]
Directories found in /Users/user/Library/Android/sdk/build-tools are .DS_Store, 21.1.2, 22.0.1, 23.0.1, 23.0.3, 24.0.0, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2
Versions found in /Users/user/Library/Android/sdk/build-tools are 21.1.2, 22.0.1, 23.0.1, 23.0.3, 24.0.0, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2
Selected version is: 26.0.2
Selected targetSdk is: 26
Directories found in /Users/user/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7 are 18.0.0, 19.0.0, 19.0.1, 19.1.0, 20.0.0, 21.0.0, 21.0.2, 21.0.3, 22.0.0, 22.1.0, 22.1.1, 22.2.0, 22.2.1, 23.0.0, 23.0.1, 23.1.0, 23.1.1, 23.2.0, 23.2.1, 23.3.0, 23.4.0, 24.0.0, 24.0.0-alpha1, 24.0.0-alpha2, 24.0.0-beta1, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 25.0.0, 25.0.1, 25.1.0, 25.1.1, 25.2.0, 25.3.0, 25.3.1, 26.0.0-alpha1, maven-metadata.xml, maven-metadata.xml.md5, maven-metadata.xml.sha1
Versions found in /Users/user/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7 are 18.0.0, 19.0.0, 19.0.1, 19.1.0, 20.0.0, 21.0.0, 21.0.2, 21.0.3, 22.0.0, 22.1.0, 22.1.1, 22.2.0, 22.2.1, 23.0.0, 23.0.1, 23.1.0, 23.1.1, 23.2.0, 23.2.1, 23.3.0, 23.4.0, 24.0.0, 24.0.0, 24.0.0, 24.0.0, 24.1.0, 24.1.1, 24.2.0, 24.2.1, 25.0.0, 25.0.1, 25.1.0, 25.1.1, 25.2.0, 25.3.0, 25.3.1, 26.0.0
Selected version is: 26.0.0-alpha1
Selected AppCompat version is: 26.0.0-alpha1
Error executing command 'javac'. Make sure you have installed The Java Development Kit (JDK) and set JAVA_HOME environment variable.
You will not be able to build your projects for Android.
To be able to build for Android, verify that you have installed The Java Development Kit (JDK) and configured it according to system requirements as
described in http://docs.nativescript.org/setup/ns-cli-setup/ns-setup-os-x.html#system-requirements
Exec python -c "import six"
stdout:
stderr:
There seem to be issues with your configuration.
? Do you want to visit the official documentation? No
? Do you want to run the setup script? Yes
spawn: /Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/setup/mac-startup-shell-script.sh 0
Error: spawn EACCES
at exports._errnoException (util.js:1020:11)
at ChildProcess.spawn (internal/child_process.js:328:11)
at Object.exports.spawn (child_process.js:370:9)
at ChildProcess.spawn (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/common/child-process.js:58:30)
at Promise (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/common/child-process.js:66:39)
at ChildProcess.spawnFromEvent (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/common/child-process.js:65:16)
at DoctorService.<anonymous> (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/services/doctor-service.js:136:42)
at next (native)
at fulfilled (/Users/user/.nvm/versions/node/v6.12.2/lib/node_modules/nativescript/lib/services/doctor-service.js:4:58)
at process._tickCallback (internal/process/next_tick.js:109:7)
List of registered commands: /?, appstore, appstore|upload, autocomplete, autocomplete|disable, autocomplete|enable, autocomplete|status, build, build|android, build|ios, clean-app, clean-app|android, clean-app|ios, create, debug, debug|android, debug|ios, deploy, dev-generate-help, dev-generate-messages, dev-post-install, dev-preuninstall, dev-test, dev-test|android, dev-test|ios, device, devices, devices|android, devices|ios, device|android, device|get-file, device|ios, device|list-applications, device|list-files, device|log, device|put-file, device|run, device|stop, device|uninstall, doctor, error-reporting, extension, extension|install, extension|uninstall, help, info, init, install, platform, platform|add, platform|clean, platform|remove, platform|update, plugin, plugin|add, plugin|install, plugin|remove, plugin|update, post-install-cli, prepare, proxy, proxy|clear, proxy|set, publish, publish|ios, run, run|android, run|ios, test, test|android, test|init, test|ios, update, usage-reporting
Reading help for command 'doctor'. FileName is 'doctor.md'.
# doctor
โโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ Usage โ Synopsis โ
โ General โ $ tns doctor โ
โโโโโโโโโโโดโโโโโโโโโโโโโโโ
Checks your system for configuration problems which might prevent the NativeScript CLI from working properly.
Installed mono and gradle via bomebrew, fixed JAVA_HOME in ~/.bash_profile but still getting EACCES error with node.js installed via nvm:
$ npm install -g nativescript
npm WARN checkPermissions Missing write access to /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable
npm WARN checkPermissions Missing write access to /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript
npm WARN checkPermissions Missing write access to /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules
npm WARN checkPermissions Missing write access to /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable/node_modules
npm ERR! path /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable'
npm ERR! { Error: EACCES: permission denied, access '/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable'
npm ERR! stack: 'Error: EACCES: permission denied, access \'/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/ios-sim-portable' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
Also tried with sudo once again:
$ sudo npm install nativescript -g --unsafe-perm
Password:
/Users/user/.nvm/versions/node/v9.3.0/bin/tns -> /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/bin/tns
/Users/user/.nvm/versions/node/v9.3.0/bin/nativescript -> /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/bin/tns
> [email protected] install /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/fsevents
> node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v59-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v59 ABI) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
In file included from ../../nan/nan.h:192:
../../nan/nan_maybe_43_inl.h:112:15: warning: 'ForceSet' is deprecated [-Wdeprecated-declarations]
return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);
^
/Users/user/.node-gyp/9.3.0/include/node/v8.h:3114:3: note: 'ForceSet' has been explicitly marked deprecated here
V8_DEPRECATED("Use CreateDataProperty / DefineOwnProperty",
^
/Users/user/.node-gyp/9.3.0/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated))
^
1 warning generated.
SOLINK_MODULE(target) Release/fse.node
COPY /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node
TOUCH Release/obj.target/action_after_build.stamp
> [email protected] postinstall /Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript
> node postinstall.js
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
WARNING: CocoaPods is not installed or is not configured properly.
You will not be able to build your projects for iOS if they contain plugin with CocoaPod file.
To be able to build such projects, verify that you have installed CocoaPods.
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.
? Do you want to visit the official documentation? No
? Do you want to run the setup script? Yes
spawn EACCES
Failed to display command help { Error: Unknown command 'post-install-cli'. Try '$ tns help' for a full list of supported commands.
at Errors.fail (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at Errors.failWithoutHelp (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/errors.js:134:21)
at HelpService.<anonymous> (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/services/help-service.js:140:26)
at Generator.next (<anonymous>)
at fulfilled (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/services/help-service.js:4:58)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:160:7)
name: 'Exception',
message: 'Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.',
stack: 'Error: Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.\n at Errors.fail (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/errors.js:125:28)\n at Errors.failWithoutHelp (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/errors.js:134:21)\n at HelpService.<anonymous> (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/services/help-service.js:140:26)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/user/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/lib/common/services/help-service.js:4:58)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:160:7)',
errorCode: 127,
suppressCommandHelp: true,
proxyAuthenticationRequired: false }
+ [email protected]
added 701 packages and updated 7 packages in 118.306s
Uninstalled nvm, node with all traces of those packages and tried the advanced setup guide, still getting some warnings, but I think those are for skipping optional packages:
$ npm i -g nativescript
> [email protected] preuninstall /usr/local/lib/node_modules/nativescript
> node preuninstall.js
/usr/local/bin/tns -> /usr/local/lib/node_modules/nativescript/bin/tns
/usr/local/bin/nativescript -> /usr/local/lib/node_modules/nativescript/bin/tns
> [email protected] postinstall /usr/local/lib/node_modules/nativescript
> node postinstall.js
Verifying CocoaPods. This may take more than a minute, please be patient.
โ Installing iOS runtime.โธจ โโโโโโโโโโโโธฉ โ ด extract:tns-ios: verb lock using /Users/user/.npm/_locks/staging-fc6c52b3c173fdb2.lock for /private/var/folders/xx/t7wrqqf50cz5rvj5_nl921vh0000gn/T/nativescript-check-cocoapods1171125-26662-13uqcb1.rw97y6tj4i/node_m
...
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
+ [email protected]
added 1 package in 302.763s
โ Verifying CocoaPods. This may take some time, please be patient..
Your components are up-to-date:
nativescript,tns-core-modules,tns-android,tns-ios
If you are using bash or zsh, you can enable command-line completion.
? Do you want to enable it now? Yes
Restart your shell to enable command auto-completion.
Installation successful. You are good to go. Connect with us on http://twitter.com/NativeScript.
Leave your e-mail address here to subscribe for NativeScript newsletter and product updates, tips and tricks:
? (press Enter for blank)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/abbrev):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/abbrev' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.abbrev.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/ansi-regex):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/ansi-regex' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.ansi-regex.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/aproba):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/aproba' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.aproba.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/asn1):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/asn1' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.asn1.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/assert-plus):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/assert-plus' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.assert-plus.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/asynckit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/asynckit' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.asynckit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/aws-sign2):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/aws-sign2' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.aws-sign2.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/aws4):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/aws4' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.aws4.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/balanced-match):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/balanced-match' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.balanced-match.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/buffer-shims):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/buffer-shims' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.buffer-shims.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/caseless):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/caseless' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.caseless.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/co):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/co' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.co.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/code-point-at):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/code-point-at' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.code-point-at.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/concat-map):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/concat-map' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.concat-map.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/console-control-strings):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/console-control-strings' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.console-control-strings.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/core-util-is):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/core-util-is' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.core-util-is.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/dashdash/node_modules/assert-plus' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/dashdash/node_modules/.assert-plus.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/dashdash):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/dashdash-f3250d4f' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/dashdash'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/deep-extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/deep-extend' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.deep-extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/delayed-stream):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/delayed-stream' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.delayed-stream.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/delegates):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/delegates' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.delegates.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/extend):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/extend' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.extend.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/extsprintf):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/extsprintf' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.extsprintf.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/forever-agent):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/forever-agent' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.forever-agent.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/fs.realpath):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/fs.realpath' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.fs.realpath.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/getpass/node_modules/assert-plus):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/getpass/node_modules/assert-plus' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/getpass/node_modules/.assert-plus.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/getpass):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/getpass-a70398a3' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/getpass'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/graceful-fs):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/graceful-fs' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.graceful-fs.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/har-schema):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/har-schema' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.har-schema.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/has-unicode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/has-unicode' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.has-unicode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/hoek):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/hoek' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.hoek.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/inherits):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/inherits' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.inherits.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/ini):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/ini' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.ini.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/is-typedarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/is-typedarray' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.is-typedarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/isarray):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/isarray' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.isarray.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/isstream):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/isstream' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.isstream.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/jsbn):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/jsbn' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.jsbn.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/ecc-jsbn):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/ecc-jsbn' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.ecc-jsbn.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/jodid25519):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/jodid25519' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.jodid25519.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/json-schema):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/json-schema' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.json-schema.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/json-stringify-safe):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/json-stringify-safe' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.json-stringify-safe.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/jsonify):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/jsonify' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.jsonify.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/json-stable-stringify):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/json-stable-stringify' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.json-stable-stringify.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/ajv):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/ajv' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.ajv.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/har-validator):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/har-validator' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.har-validator.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/jsprim/node_modules/assert-plus):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/jsprim/node_modules/assert-plus' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/jsprim/node_modules/.assert-plus.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/mime-db):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/mime-db' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.mime-db.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/minimist' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/ms):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/ms' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.ms.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/debug):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/debug' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.debug.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/number-is-nan):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/number-is-nan' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.number-is-nan.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/oauth-sign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/oauth-sign' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.oauth-sign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/object-assign):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/object-assign' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.object-assign.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/os-homedir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/os-homedir' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.os-homedir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/os-tmpdir):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/os-tmpdir' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.os-tmpdir.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/osenv):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/osenv' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.osenv.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/nopt):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/nopt' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.nopt.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/path-is-absolute):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/path-is-absolute' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.path-is-absolute.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/performance-now):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/performance-now' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.performance-now.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/process-nextick-args):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/process-nextick-args' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.process-nextick-args.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/punycode):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/punycode' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.punycode.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/qs):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/qs' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.qs.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/rc/node_modules/minimist):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/rc/node_modules/minimist' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/rc/node_modules/.minimist.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/safe-buffer):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/safe-buffer' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.safe-buffer.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/semver):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/semver' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.semver.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/set-blocking):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/set-blocking' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.set-blocking.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/signal-exit):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/signal-exit' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.signal-exit.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/sshpk/node_modules/assert-plus):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/sshpk/node_modules/assert-plus' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/sshpk/node_modules/.assert-plus.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/stringstream):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/stringstream' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.stringstream.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/strip-json-comments):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/strip-json-comments' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.strip-json-comments.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/rc):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/rc-cf3d7519' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/rc'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/tough-cookie):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/tough-cookie' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.tough-cookie.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/tweetnacl):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/tweetnacl' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.tweetnacl.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/bcrypt-pbkdf):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/bcrypt-pbkdf' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.bcrypt-pbkdf.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/sshpk):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/sshpk-7ceb7b6c' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/sshpk'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/uid-number):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/uid-number' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.uid-number.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/util-deprecate):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/util-deprecate' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.util-deprecate.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/uuid):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/uuid' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.uuid.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/http-signature):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/http-signature' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.http-signature.DELETE'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nativescript/node_modules/fsevents/node_modules/wrappy):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/wrappy' -> '/usr/local/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.wrappy.DELETE'
+ [email protected]
updated 1 package in 420.834s
I have the same error when installing 3.4.0 with node 9.x, 8.x and 6.x.
? Do you want to run the setup script? Yes
spawn EACCES
Failed to display command help { Error: Unknown command 'post-install-cli'. Try '$ tns help' for a full list of supported commands.
at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at Errors.failWithoutHelp (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:134:21)
at HelpService.
at Generator.next (
at fulfilled (/usr/local/lib/node_modules/nativescript/lib/common/services/help-service.js:4:58)
at
at process._tickCallback (internal/process/next_tick.js:160:7)
name: 'Exception',
message: 'Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.',
stack: 'Error: Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.\n at Errors.fail (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:125:28)\n at Errors.failWithoutHelp (/usr/local/lib/node_modules/nativescript/lib/common/errors.js:134:21)\n at HelpService.
errorCode: 127,
suppressCommandHelp: true,
proxyAuthenticationRequired: false }
Also getting the same error as @yuzhang666
Same issue -_-
$ sudo npm install nativescript -g --unsafe-perm
Password:
/Users/user/.nvm/versions/node/v8.4.0/bin/tns -> /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/bin/tns
/Users/user/.nvm/versions/node/v8.4.0/bin/nativescript -> /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/bin/tns
[email protected] postinstall /Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript
node postinstall.js
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
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
TIP: To avoid setting up the necessary environment variables, you can use the Homebrew package manager to install the Android SDK and its dependencies.
WARNING: xcodeproj gem is not installed or is not configured properly.
You will not be able to build your projects for iOS.
To be able to build for iOS and run apps in the native emulator, verify that you have installed xcodeproj.
WARNING: CocoaPods is not installed or is not configured properly.
You will not be able to build your projects for iOS if they contain plugin with CocoaPod file.
To be able to build such projects, verify that you have installed CocoaPods.
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.
? Do you want to visit the official documentation? No
? Do you want to run the setup script? Yes
spawn EACCES
Failed to display command help { Error: Unknown command 'post-install-cli'. Try '$ tns help' for a full list of supported commands.
at Errors.fail (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:125:28)
at Errors.failWithoutHelp (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:134:21)
at HelpService.
at Generator.next (
at fulfilled (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/services/help-service.js:4:58)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
name: 'Exception',
message: 'Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.',
stack: 'Error: Unknown command \'post-install-cli\'. Try \'$ tns help\' for a full list of supported commands.\n at Errors.fail (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:125:28)\n at Errors.failWithoutHelp (/Users/user/.nvm/versions/node/v8.4.0/lib/node_modules/nativescript/lib/common/errors.js:134:21)\n at HelpService.
errorCode: 127,
suppressCommandHelp: true,
proxyAuthenticationRequired: false }
/Users/user/.nvm/versions/node/v8.4.0/lib
โโโ [email protected]
I'm getting the same error. I've tried so many things. Eacess errors still persisting. I did a clean install of mac os and tried reinstalling npm. Tried Brew to install Node 6. Did anyone find a solution?
This has consumed me today.. I was also getting the long list of warnings and the Eaccess errors. To resolve I did a npm uninstall nativescript then followed the documentation for nativescript here: https://docs.nativescript.org/start/ns-setup-os-x#advanced-setup-steps
As a result, when I went and did npm i -g nativescript I was able to remove all those warnings, but I still get the following error even after explicitly installing ansi-regex with npm i ansi-regex:
942 error code ENOENT
943 error errno -2
944 error syscall rename
945 error enoent ENOENT: no such file or directory, rename '/Users/johnhansen/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/fsevents/node_modules/ansi-regex' -> '/Users/johnhansen/.nvm/versions/node/v9.3.0/lib/node_modules/nativescript/node_modules/fsevents/node_modules/.ansi-regex.DELETE'
946 error enoent This is related to npm not being able to find a file.
947 verbose exit [ -2, true ]
Hey guys,
The reason for spawn EACCES error is missing executable bit of setup script that {N} CLI spawns. To resolve the issue you can do the following:
chmod +x /usr/local/lib/node_modules/nativescript/setup/mac-startup-shell-script.sh
Maybe this permissions issue should be fixed in the repo? Not that the setup script works anyway:
? Do you want to run the setup script? Yes
These scripts require sudo permissions
NativeScript requires Xcode.
If you do not have Xcode installed, download and install it from App Store and run it once to complete its setup.
Do you have Xcode installed? (y/n)
y
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Xcode is not installed or not configured properly. Download, install, set it up and run this script again.
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.
Overall, the macOS experience is pretty poor.
Most helpful comment
Hey guys,
The reason for
spawn EACCESerror is missing executable bit of setup script that{N} CLIspawns. To resolve the issue you can do the following:chmod +x /usr/local/lib/node_modules/nativescript/setup/mac-startup-shell-script.sh