This is a migrated thread and some comments may be shown as answers.

AngularSDK Examples Won't Run

6 Answers 123 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kelvin
Top achievements
Rank 1
Kelvin asked on 21 Apr 2017, 04:12 PM

I'm hitting an issue when I try to run the AngularSDK using tns run ios:


** BUILD SUCCEEDED **

Project successfully built.
Installing...
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Multiple errors were thrown:
Error Command failed: xcrun simctl install C08C5737-853F-436A-9454-853A46C41AF8 /Users/myUser/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular/platforms/ios/build/emulator/SDKAngular.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
 while executing xcrun simctl install C08C5737-853F-436A-9454-853A46C41AF8 /Users/myUser/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular/platforms/ios/build/emulator/SDKAngular.app.

It looks like everything should run fine from my end.  I don't have any issue running other ios apps with tns ios run command.

Can you shed any light on why this app can't be run?

6 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay Tsonev
Telerik team
answered on 24 Apr 2017, 05:48 AM
Hi,
Thank you for your interest in NativeScript.

If I understand you correctly you are facing an issue with building  sample app for iOS.

I reviewed the error log and found that similar issue was logged here and it is fixed since NativeScript 2.2.0.

Regarding that could you provide some more info about the issue and for your environment(CLI, node, Xcode versions), also some information about the device or simulator, which is used.
In the meantime, you could also delete platforms, node_modules folders and to rebuild the project with run ios. If the problem still appears could you build the project with  run ios --log trace and to send us the full log from the terminal.

Thank you in advance for your cooperation.

Regards,
nikolay.tsonev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Kelvin
Top achievements
Rank 1
answered on 24 Apr 2017, 02:05 PM

Hi,

I did the update, but I'm still unable to run the samples.  See my terminal log below.

Last login: Mon Apr 24 08:52:24 on ttys003
-bash: /Users/kelvinking/Library/Android/sdk: is a directory
is a shell builtin
Sax-Desktop:SDKAngular kelvinking$ tns run ios --log trace
execFile: /usr/local/opt/android-sdk/platform-tools/adb "help"
Error while executing '/usr/local/opt/android-sdk/platform-tools/adb help'. Error is: spawn /usr/local/opt/android-sdk/platform-tools/adb ENOENT
Exec uname -a 
 stdout: Darwin Sax-Desktop.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
 
 stderr: 
Exec npm -v 
 stdout: 4.0.5
 
 stderr: 
spawn: java "-version"
Exec node-gyp -v 
 stdout:  
 stderr: /bin/sh: node-gyp: command not found

Exec xcodebuild -version 
 stdout: Xcode 8.3.2
Build version 8E2002
 
 stderr: 
Exec gem which xcodeproj 
 stdout: /usr/local/lib/ruby/gems/2.3.0/gems/xcodeproj-1.4.4/lib/xcodeproj.rb
 
 stderr: 
Exec pod --version 
 stdout: 1.2.1
 
 stderr: 
Exec null version 
 stdout:  
 stderr: /bin/sh: null: command not found

spawn: /usr/local/opt/android-sdk/tools/emulator "-help"
The result of checking is Android Emulator installed is:
- stdout: 
- stderr: spawn /usr/local/opt/android-sdk/tools/emulator ENOENT
Exec mono --version 
 stdout:  
 stderr: /bin/sh: mono: command not found

Exec git --version 
 stdout: git version 2.11.0 (Apple Git-81)
 
 stderr: 
Exec gradle -v 
 stdout:  
 stderr: /bin/sh: gradle: command not found

Exec "/Library/Java/Home/bin/javac" -version 
 stdout:  
 stderr: javac 1.8.0_121

System information:
{ procInfo: 'nativescript/3.0.0-2017-04-13-8667',
  platform: 'darwin',
  os: 'Darwin Sax-Desktop.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64\n',
  shell: '/bin/bash',
  dotNetVer: null,
  procArch: 'x64',
  nodeVer: 'v7.4.0',
  npmVer: '4.0.5',
  javaVer: '1.8.0',
  nodeGypVer: null,
  xcodeVer: 'Xcode 8.3.2\nBuild version 8E2002\n',
  xcodeprojGemLocation: '/usr/local/lib/ruby/gems/2.3.0/gems/xcodeproj-1.4.4/lib/xcodeproj.rb\n',
  itunesInstalled: true,
  cocoapodVer: '1.2.1',
  adbVer: null,
  emulatorInstalled: false,
  monoVer: null,
  gitVer: '2.11.0 (Apple Git-81)',
  gradleVer: null,
  javacVersion: '1.8.0_121' }
Looking for project in '/Users/kelvinking/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular'
Project directory is '/Users/kelvinking/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular'.
Validate options for platform: iOS
Initializing analytics statuses.
Analytics statuses: 
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'CLI' with value 'run|ios'.
Analytics statuses: 
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'Working with project type' with value 'Angular'.
Changes info in prepare platform: ProjectChangesInfo {
  appFilesChanged: false,
  packageChanged: false,
  appResourcesChanged: false,
  nativeChanged: false,
  configChanged: false }
Skipping prepare.
Searching for devices...
startLookingForDevices; platform is ios
Starting to look for iOS devices.
Exec ps cax | grep launchd_sim 
 stdout: 12466   ??  S      0:01.42 launchd_sim
 
 stderr: 
Found device with identifier 'C08C5737-853F-436A-9454-853A46C41AF8'
startLookingForDevices; platform is iOS
Exec ps cax | grep launchd_sim 
 stdout: 12466   ??  S      0:01.42 launchd_sim
 
 stderr: 
Skipping package build. No changes detected on the native side. This will be fast!
Installing...
Project dir from hooksArgs is: undefined.
Hooks directories: [ '/usr/local/lib/node_modules/nativescript/lib/hooks',
  '/usr/local/lib/node_modules/nativescript/lib/common/hooks',
  '/Users/kelvinking/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular/hooks' ]
BeforeHookName for command install is before-install
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Error: Multiple errors were thrown:
Error Command failed: xcrun simctl install C08C5737-853F-436A-9454-853A46C41AF8 /Users/kelvinking/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular/platforms/ios/build/emulator/SDKAngular.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
 while executing xcrun simctl install C08C5737-853F-436A-9454-853A46C41AF8 /Users/kelvinking/Documents/Telerik/UI for NativeScript 1.6.1.231/Examples/SDKAngular/platforms/ios/build/emulator/SDKAngular.app.
    at DevicesService.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/common/mobile/mobile-core/devices-service.js:267:23)
    at Generator.throw (<anonymous>)
    at rejected (/usr/local/lib/node_modules/nativescript/lib/common/mobile/mobile-core/devices-service.js:11:65)
    at process._tickCallback (internal/process/next_tick.js:103:7)
Analytics statuses: 
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track feature 'CLI' with value 'help'.
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, emulate, emulate|android, emulate|ios, error-reporting, 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 'run|ios'. FileName is 'run-ios.md'.
# run ios

┌───────────────────────────────────────────────┬──────────────────────────┐
│ Usage                                         │ Synopsis                 │
│ Run on all connected devices                  │ $ tns run ios [--release │
│                                               │ ] [--justlaunch]         │
│ Run on a selected connected device. Will      │ $ tns run ios [--device  │
│ start simulator with specified Device         │ <Device ID>] [--release] │
│ Identifier, if not already running.           │ [--justlaunch]           │
│ Start an emulator and run the app inside it   │ $ tns run ios --emulator │
│                                               │ [--release]              │
└───────────────────────────────────────────────┴──────────────────────────┘

Runs your project on a connected iOS device or in the iOS Simulator, if configured. This is shorthand for prepare, build and deploy. While your app is running, prints the output from the application in the console and watches for changes in your code. Once a change is detected, it synchronizes the change with all selected devices and restarts/refreshes the application.

IMPORTANT: Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your OS X system. 

### Options

    * --device - Specifies a connected device/simulator to start and run the app.
    * --emulator - If set, runs the app in all available and configured ios simulators. It will start a simulator if none are already running.
    * --justlaunch - If set, does not print the application output in the console.
    * --clean - If set, forces rebuilding the native application.
    * --no-watch - If set, changes in your code will not be reflected during the execution of this command.
    * --release - If set, produces a release build. Otherwise, produces a debug build.

### Attributes

    * <Device ID> is the index or Device Identifier of the target device as listed by $ tns device ios --available-devices

IOSDeviceOperations disposed.
Sax-Desktop:SDKAngular kelvinking$ 


0
Accepted
Nikolay Tsonev
Telerik team
answered on 25 Apr 2017, 07:34 AM
Hi,
I am sorry to hear that you still have an issue with building the --samples-angular Examples.

At this point could you confirm that you have upgraded to latest official version `2.5.4`. You could check that by running  --version in the console.
If you are with the correct CLI, the error could be related to using old Runtime and modules with newer CLI.

Something that you could do on your side is to make a new clone of the project's repository and to build it again. You could review the attached steps below;

1. git clone https://github.com/telerik/nativescript-ui-samples-angular
2, cd nativescript--samples-angular/sdkAngular
3,  run ios


Let me know. whether this helps
Regards,
nikolay.tsonev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Kelvin
Top achievements
Rank 1
answered on 25 Apr 2017, 12:37 PM

Hi,

I'm verified that I'm using version 3.0.0-2017-04-13-8667

I still got the following messages about Unmet Peer Dependencies like before but this time the app ran.

nativescript-telerik-ui-sdk-angular-examples@1.6.1 /Users/kelvinking/Documents/Dropbox/Code/nativescript-ui-samples-angular/sdkAngular
├── @angular/common@2.4.10 
├── UNMET PEER DEPENDENCY @angular/compiler@2.4.10
├── UNMET PEER DEPENDENCY @angular/core@2.4.10
├── @angular/forms@2.4.10 
├── @angular/http@2.4.10 
├── @angular/platform-browser@2.4.10 
├── @angular/platform-browser-dynamic@2.4.10 
├── @angular/router@3.4.10 
├─┬ babel-traverse@6.10.4 
│ ├─┬ babel-code-frame@6.22.0 
│ │ ├─┬ chalk@1.1.3 
│ │ │ ├── ansi-styles@2.2.1 
│ │ │ ├── escape-string-regexp@1.0.5 
│ │ │ ├─┬ has-ansi@2.0.0 
│ │ │ │ └── ansi-regex@2.1.1 
│ │ │ ├── strip-ansi@3.0.1 
│ │ │ └── supports-color@2.0.0 
│ │ └── js-tokens@3.0.1 
│ ├── babel-messages@6.23.0 
│ ├─┬ babel-runtime@6.23.0 
│ │ └── regenerator-runtime@0.10.3 
│ ├─┬ debug@2.6.4 
│ │ └── ms@0.7.3 
│ ├── globals@8.18.0 
│ ├─┬ invariant@2.2.2 
│ │ └── loose-envify@1.3.1 
│ └── lodash@4.17.4 
├─┬ babel-types@6.10.2 
│ ├── esutils@2.0.2 
│ └── to-fast-properties@1.0.2 
├── babylon@6.8.1 
├─┬ chai@3.5.0 
│ ├── assertion-error@1.0.2 
│ ├─┬ deep-eql@0.1.3 
│ │ └── type-detect@0.1.1 
│ └── type-detect@1.0.0 
├─┬ codelyzer@1.0.0-beta.2 
│ └── sprintf-js@1.0.3 
├─┬ filewalker@0.1.3 
│ └── fqueue@0.0.0 
├─┬ karma@0.13.22 
│ ├── batch@0.5.3 
│ ├── bluebird@2.11.0 
│ ├─┬ body-parser@1.17.1 
│ │ ├── bytes@2.4.0 
│ │ ├── content-type@1.0.2 
│ │ ├─┬ debug@2.6.1 
│ │ │ └── ms@0.7.2 
│ │ ├── depd@1.1.0 
│ │ ├─┬ http-errors@1.6.1 
│ │ │ ├── setprototypeof@1.0.3 
│ │ │ └── statuses@1.3.1 
│ │ ├── iconv-lite@0.4.15 
│ │ ├─┬ on-finished@2.3.0 
│ │ │ └── ee-first@1.1.1 
│ │ ├── qs@6.4.0 
│ │ ├─┬ raw-body@2.2.0 
│ │ │ └── unpipe@1.0.0 
│ │ └─┬ type-is@1.6.15 
│ │   ├── media-typer@0.3.0 
│ │   └─┬ mime-types@2.1.15 
│ │     └── mime-db@1.27.0 
│ ├─┬ chokidar@1.6.1 
│ │ ├─┬ anymatch@1.3.0 
│ │ │ ├── arrify@1.0.1 
│ │ │ └─┬ micromatch@2.3.11 
│ │ │   ├─┬ arr-diff@2.0.0 
│ │ │   │ └── arr-flatten@1.0.3 
│ │ │   ├─┬ braces@1.8.5 
│ │ │   │ ├─┬ expand-range@1.8.2 
│ │ │   │ │ └─┬ fill-range@2.2.3 
│ │ │   │ │   ├── is-number@2.1.0 
│ │ │   │ │   ├── isobject@2.1.0 
│ │ │   │ │   ├── randomatic@1.1.6 
│ │ │   │ │   └── repeat-string@1.6.1 
│ │ │   │ ├── preserve@0.2.0 
│ │ │   │ └── repeat-element@1.1.2 
│ │ │   ├─┬ expand-brackets@0.1.5 
│ │ │   │ └── is-posix-bracket@0.1.1 
│ │ │   ├── extglob@0.3.2 
│ │ │   ├── filename-regex@2.0.0 
│ │ │   ├─┬ kind-of@3.2.0 
│ │ │   │ └── is-buffer@1.1.5 
│ │ │   ├─┬ normalize-path@2.1.1 
│ │ │   │ └── remove-trailing-separator@1.0.1 
│ │ │   ├─┬ object.omit@2.0.1 
│ │ │   │ ├─┬ for-own@0.1.5 
│ │ │   │ │ └── for-in@1.0.2 
│ │ │   │ └── is-extendable@0.1.1 
│ │ │   ├─┬ parse-glob@3.0.4 
│ │ │   │ ├── glob-base@0.3.0 
│ │ │   │ └── is-dotfile@1.0.2 
│ │ │   └─┬ regex-cache@0.4.3 
│ │ │     ├── is-equal-shallow@0.1.3 
│ │ │     └── is-primitive@2.0.0 
│ │ ├── async-each@1.0.1 
│ │ ├─┬ fsevents@1.1.1 
│ │ │ ├── nan@2.6.2 
│ │ │ └─┬ node-pre-gyp@0.6.33 
│ │ │   ├─┬ mkdirp@0.5.1 
│ │ │   │ └── minimist@0.0.8 
│ │ │   ├─┬ nopt@3.0.6 
│ │ │   │ └── abbrev@1.1.0 
│ │ │   ├─┬ npmlog@4.0.2 
│ │ │   │ ├─┬ are-we-there-yet@1.1.2 
│ │ │   │ │ ├── delegates@1.0.0 
│ │ │   │ │ └── readable-stream@2.2.2 
│ │ │   │ ├── console-control-strings@1.1.0 
│ │ │   │ ├─┬ gauge@2.7.3 
│ │ │   │ │ ├── aproba@1.1.1 
│ │ │   │ │ ├── has-unicode@2.0.1 
│ │ │   │ │ ├── object-assign@4.1.1 
│ │ │   │ │ ├── signal-exit@3.0.2 
│ │ │   │ │ ├─┬ string-width@1.0.2 
│ │ │   │ │ │ ├── code-point-at@1.1.0 
│ │ │   │ │ │ └─┬ is-fullwidth-code-point@1.0.0 
│ │ │   │ │ │   └── number-is-nan@1.0.1 
│ │ │   │ │ ├─┬ strip-ansi@3.0.1 
│ │ │   │ │ │ └── ansi-regex@2.1.1 
│ │ │   │ │ └── wide-align@1.1.0 
│ │ │   │ └── set-blocking@2.0.0 
│ │ │   ├─┬ rc@1.1.7 
│ │ │   │ ├── deep-extend@0.4.1 
│ │ │   │ ├── ini@1.3.4 
│ │ │   │ ├── minimist@1.2.0 
│ │ │   │ └── strip-json-comments@2.0.1 
│ │ │   ├─┬ request@2.79.0 
│ │ │   │ ├── aws-sign2@0.6.0 
│ │ │   │ ├── aws4@1.6.0 
│ │ │   │ ├── caseless@0.11.0 
│ │ │   │ ├─┬ combined-stream@1.0.5 
│ │ │   │ │ └── delayed-stream@1.0.0 
│ │ │   │ ├── extend@3.0.0 
│ │ │   │ ├── forever-agent@0.6.1 
│ │ │   │ ├─┬ form-data@2.1.2 
│ │ │   │ │ └── asynckit@0.4.0 
│ │ │   │ ├─┬ har-validator@2.0.6 
│ │ │   │ │ ├─┬ chalk@1.1.3 
│ │ │   │ │ │ ├── ansi-styles@2.2.1 
│ │ │   │ │ │ ├── escape-string-regexp@1.0.5 
│ │ │   │ │ │ ├── has-ansi@2.0.0 
│ │ │   │ │ │ └── supports-color@2.0.0 
│ │ │   │ │ ├─┬ commander@2.9.0 
│ │ │   │ │ │ └── graceful-readlink@1.0.1 
│ │ │   │ │ ├─┬ is-my-json-valid@2.15.0 
│ │ │   │ │ │ ├── generate-function@2.0.0 
│ │ │   │ │ │ ├─┬ generate-object-property@1.2.0 
│ │ │   │ │ │ │ └── is-property@1.0.2 
│ │ │   │ │ │ ├── jsonpointer@4.0.1 
│ │ │   │ │ │ └── xtend@4.0.1 
│ │ │   │ │ └─┬ pinkie-promise@2.0.1 
│ │ │   │ │   └── pinkie@2.0.4 
│ │ │   │ ├─┬ hawk@3.1.3 
│ │ │   │ │ ├── boom@2.10.1 
│ │ │   │ │ ├── cryptiles@2.0.5 
│ │ │   │ │ ├── hoek@2.16.3 
│ │ │   │ │ └── sntp@1.0.9 
│ │ │   │ ├─┬ http-signature@1.1.1 
│ │ │   │ │ ├── assert-plus@0.2.0 
│ │ │   │ │ ├─┬ jsprim@1.3.1 
│ │ │   │ │ │ ├── extsprintf@1.0.2 
│ │ │   │ │ │ ├── json-schema@0.2.3 
│ │ │   │ │ │ └── verror@1.3.6 
│ │ │   │ │ └─┬ sshpk@1.10.2 
│ │ │   │ │   ├── asn1@0.2.3 
│ │ │   │ │   ├── assert-plus@1.0.0 
│ │ │   │ │   ├── bcrypt-pbkdf@1.0.1 
│ │ │   │ │   ├─┬ dashdash@1.14.1 
│ │ │   │ │   │ └── assert-plus@1.0.0 
│ │ │   │ │   ├── ecc-jsbn@0.1.1 
│ │ │   │ │   ├─┬ getpass@0.1.6 
│ │ │   │ │   │ └── assert-plus@1.0.0 
│ │ │   │ │   ├── jodid25519@1.0.2 
│ │ │   │ │   ├── jsbn@0.1.1 
│ │ │   │ │   └── tweetnacl@0.14.5 
│ │ │   │ ├── is-typedarray@1.0.0 
│ │ │   │ ├── isstream@0.1.2 
│ │ │   │ ├── json-stringify-safe@5.0.1 
│ │ │   │ ├─┬ mime-types@2.1.14 
│ │ │   │ │ └── mime-db@1.26.0 
│ │ │   │ ├── oauth-sign@0.8.2 
│ │ │   │ ├── qs@6.3.1 
│ │ │   │ ├── stringstream@0.0.5 
│ │ │   │ ├─┬ tough-cookie@2.3.2 
│ │ │   │ │ └── punycode@1.4.1 
│ │ │   │ ├── tunnel-agent@0.4.3 
│ │ │   │ └── uuid@3.0.1 
│ │ │   ├─┬ rimraf@2.5.4 
│ │ │   │ └─┬ glob@7.1.1 
│ │ │   │   ├── fs.realpath@1.0.0 
│ │ │   │   ├── inflight@1.0.6 
│ │ │   │   ├─┬ minimatch@3.0.3 
│ │ │   │   │ └─┬ brace-expansion@1.1.6 
│ │ │   │   │   ├── balanced-match@0.4.2 
│ │ │   │   │   └── concat-map@0.0.1 
│ │ │   │   ├── once@1.4.0 
│ │ │   │   └── path-is-absolute@1.0.1 
│ │ │   ├── semver@5.3.0 
│ │ │   ├─┬ tar@2.2.1 
│ │ │   │ ├── block-stream@0.0.9 
│ │ │   │ ├─┬ fstream@1.0.10 
│ │ │   │ │ └── graceful-fs@4.1.11 
│ │ │   │ └── inherits@2.0.3 
│ │ │   └─┬ tar-pack@3.3.0 
│ │ │     ├─┬ debug@2.2.0 
│ │ │     │ └── ms@0.7.1 
│ │ │     ├── fstream-ignore@1.0.5 
│ │ │     ├─┬ once@1.3.3 
│ │ │     │ └── wrappy@1.0.2 
│ │ │     ├─┬ readable-stream@2.1.5 
│ │ │     │ ├── buffer-shims@1.0.0 
│ │ │     │ ├── core-util-is@1.0.2 
│ │ │     │ ├── isarray@1.0.0 
│ │ │     │ ├── process-nextick-args@1.0.7 
│ │ │     │ ├── string_decoder@0.10.31 
│ │ │     │ └── util-deprecate@1.0.2 
│ │ │     └── uid-number@0.0.6 
│ │ ├── glob-parent@2.0.0 
│ │ ├── inherits@2.0.3 
│ │ ├─┬ is-binary-path@1.0.1 
│ │ │ └── binary-extensions@1.8.0 
│ │ ├─┬ is-glob@2.0.1 
│ │ │ └── is-extglob@1.0.0 
│ │ ├── path-is-absolute@1.0.1 
│ │ └─┬ readdirp@2.1.0 
│ │   ├─┬ readable-stream@2.2.9 
│ │   │ ├── buffer-shims@1.0.0 
│ │   │ ├── isarray@1.0.0 
│ │   │ ├── process-nextick-args@1.0.7 
│ │   │ └── string_decoder@1.0.0 
│ │   └── set-immediate-shim@1.0.1 
│ ├── colors@1.1.2 
│ ├─┬ connect@3.6.1 
│ │ ├─┬ debug@2.6.3 
│ │ │ └── ms@0.7.2 
│ │ ├─┬ finalhandler@1.0.1 
│ │ │ ├─┬ debug@2.6.3 
│ │ │ │ └── ms@0.7.2 
│ │ │ ├── encodeurl@1.0.1 
│ │ │ └── escape-html@1.0.3 
│ │ ├── parseurl@1.3.1 
│ │ └── utils-merge@1.0.0 
│ ├── core-js@2.4.1 
│ ├── di@0.0.1 
│ ├─┬ dom-serialize@2.2.1 
│ │ ├── custom-event@1.0.1 
│ │ ├── ent@2.2.0 
│ │ ├── extend@3.0.0 
│ │ └── void-elements@2.0.1 
│ ├─┬ expand-braces@0.1.2 
│ │ ├── array-slice@0.2.3 
│ │ ├── array-unique@0.2.1 
│ │ └─┬ braces@0.1.5 
│ │   └─┬ expand-range@0.1.1 
│ │     ├── is-number@0.1.1 
│ │     └── repeat-string@0.2.2 
│ ├─┬ glob@7.1.1 
│ │ ├── fs.realpath@1.0.0 
│ │ ├─┬ inflight@1.0.6 
│ │ │ └── wrappy@1.0.2 
│ │ └── once@1.4.0 
│ ├── graceful-fs@4.1.11 
│ ├─┬ http-proxy@1.16.2 
│ │ ├── eventemitter3@1.2.0 
│ │ └── requires-port@1.0.0 
│ ├── isbinaryfile@3.0.2 
│ ├── lodash@3.10.1 
│ ├─┬ log4js@0.6.38 
│ │ ├─┬ readable-stream@1.0.34 
│ │ │ ├── core-util-is@1.0.2 
│ │ │ ├── isarray@0.0.1 
│ │ │ └── string_decoder@0.10.31 
│ │ └── semver@4.3.6 
│ ├── mime@1.3.4 
│ ├─┬ minimatch@3.0.3 
│ │ └─┬ brace-expansion@1.1.7 
│ │   ├── balanced-match@0.4.2 
│ │   └── concat-map@0.0.1 
│ ├─┬ optimist@0.6.1 
│ │ ├── minimist@0.0.10 
│ │ └── wordwrap@0.0.3 
│ ├── rimraf@2.6.1 
│ ├─┬ socket.io@1.7.3 
│ │ ├─┬ debug@2.3.3 
│ │ │ └── ms@0.7.2 
│ │ ├─┬ engine.io@1.8.3 
│ │ │ ├─┬ accepts@1.3.3 
│ │ │ │ └── negotiator@0.6.1 
│ │ │ ├── base64id@1.0.0 
│ │ │ ├── cookie@0.3.1 
│ │ │ ├─┬ debug@2.3.3 
│ │ │ │ └── ms@0.7.2 
│ │ │ ├─┬ engine.io-parser@1.3.2 
│ │ │ │ ├── after@0.8.2 
│ │ │ │ ├── arraybuffer.slice@0.0.6 
│ │ │ │ ├── base64-arraybuffer@0.1.5 
│ │ │ │ ├── blob@0.0.4 
│ │ │ │ └── wtf-8@1.0.0 
│ │ │ └─┬ ws@1.1.2 
│ │ │   ├── options@0.0.6 
│ │ │   └── ultron@1.0.2 
│ │ ├─┬ has-binary@0.1.7 
│ │ │ └── isarray@0.0.1 
│ │ ├── object-assign@4.1.0 
│ │ ├─┬ socket.io-adapter@0.5.0 
│ │ │ └─┬ debug@2.3.3 
│ │ │   └── ms@0.7.2 
│ │ ├─┬ socket.io-client@1.7.3 
│ │ │ ├── backo2@1.0.2 
│ │ │ ├── component-bind@1.0.0 
│ │ │ ├── component-emitter@1.2.1 
│ │ │ ├─┬ debug@2.3.3 
│ │ │ │ └── ms@0.7.2 
│ │ │ ├─┬ engine.io-client@1.8.3 
│ │ │ │ ├── component-emitter@1.2.1 
│ │ │ │ ├── component-inherit@0.0.3 
│ │ │ │ ├─┬ debug@2.3.3 
│ │ │ │ │ └── ms@0.7.2 
│ │ │ │ ├── has-cors@1.1.0 
│ │ │ │ ├── parsejson@0.0.3 
│ │ │ │ ├── parseqs@0.0.5 
│ │ │ │ ├── xmlhttprequest-ssl@1.5.3 
│ │ │ │ └── yeast@0.1.2 
│ │ │ ├── indexof@0.0.1 
│ │ │ ├── object-component@0.0.3 
│ │ │ ├─┬ parseuri@0.0.5 
│ │ │ │ └─┬ better-assert@1.0.2 
│ │ │ │   └── callsite@1.0.0 
│ │ │ └── to-array@0.1.4 
│ │ └─┬ socket.io-parser@2.3.1 
│ │   ├── component-emitter@1.1.2 
│ │   ├─┬ debug@2.2.0 
│ │   │ └── ms@0.7.1 
│ │   ├── isarray@0.0.1 
│ │   └── json3@3.3.2 
│ ├── source-map@0.5.6 
│ └─┬ useragent@2.1.13 
│   ├── lru-cache@2.2.4 
│   └─┬ tmp@0.0.31 
│     └── os-tmpdir@1.0.2 
├── karma-chai@0.1.0 
├── karma-mocha@0.2.2 
├─┬ karma-nativescript-launcher@0.4.0 
│ └── shelljs@0.5.3 
├── lazy@1.0.11 
├─┬ mocha@2.5.3 
│ ├── commander@2.3.0 
│ ├─┬ debug@2.2.0 
│ │ └── ms@0.7.1 
│ ├── diff@1.4.0 
│ ├── escape-string-regexp@1.0.2 
│ ├─┬ glob@3.2.11 
│ │ └─┬ minimatch@0.3.0 
│ │   └── sigmund@1.0.1 
│ ├── growl@1.9.2 
│ ├─┬ jade@0.26.3 
│ │ ├── commander@0.6.1 
│ │ └── mkdirp@0.3.0 
│ ├─┬ mkdirp@0.5.1 
│ │ └── minimist@0.0.8 
│ ├── supports-color@1.2.0 
│ └── to-iso-string@0.0.2 
├─┬ nativescript-angular@1.4.0 
│ ├── nativescript-intl@0.0.10 
│ ├── parse5@1.3.2 
│ ├── punycode@1.3.2 
│ ├── querystring@0.2.0 
│ ├── reflect-metadata@0.1.10 
│ ├── url@0.10.3 
│ └── UNMET PEER DEPENDENCY zone.js@^0.7.2
├─┬ nativescript-dev-android-snapshot@0.0.6 
│ ├── adm-zip@0.4.7 
│ ├─┬ nativescript-hook@0.2.1 
│ │ └── glob@6.0.4 
│ ├── semver@5.3.0 
│ └── shelljs@0.6.1 
├── nativescript-dev-typescript@0.3.7 
├── nativescript-fresco@1.0.16 
├── nativescript-intl@0.0.4 
├── nativescript-telerik-ui-pro@1.6.1 
├── nativescript-unit-test-runner@0.3.4 
├─┬ rxjs@5.0.3 
│ └── symbol-observable@1.0.4 
├─┬ tns-core-modules@2.5.1 
│ └── tns-core-modules-widgets@2.5.0 
├─┬ tslint@3.15.1 
│ ├── diff@2.2.3 
│ ├─┬ findup-sync@0.3.0 
│ │ └── glob@5.0.15 
│ ├─┬ resolve@1.3.3 
│ │ └── path-parse@1.0.5 
│ └─┬ underscore.string@3.3.4 
│   └── util-deprecate@1.0.2 
├── typescript@2.1.5 
└── UNMET PEER DEPENDENCY zone.js@0.6.26

npm WARN @angular/core@2.4.10 requires a peer of zone.js@^0.7.2 but none was installed.
npm WARN codelyzer@1.0.0-beta.2 requires a peer of @angular/compiler@~2.1.0 but none was installed.
npm WARN codelyzer@1.0.0-beta.2 requires

Thank you.

Kelvin-

0
Accepted
Nikolay Tsonev
Telerik team
answered on 25 Apr 2017, 01:04 PM
Hello,
I am glad to hear that you were able to build the app on your side. At this point "UNMET PEER DEPENDENCY"  is only a warning and should not prevent you from building the app.

Also, bear in mind that NativeScript CLI 3.0.0 is still under development and you could face some issue with it. I would suggest using CLI 2.5.4, which is the latest official version at this time.
You could install it with 
npm install nativescript --g

Hope this helps.
Regards,
nikolay.tsonev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Kelvin
Top achievements
Rank 1
answered on 12 May 2017, 05:34 AM
I'm closing this issue.  I reinstalled everything and it is now working.
Tags
General Discussion
Asked by
Kelvin
Top achievements
Rank 1
Answers by
Nikolay Tsonev
Telerik team
Kelvin
Top achievements
Rank 1
Share this question
or