Bug with `ionic emulate ios`
I am facing an error when executing
ionic emulate ios
The result:
Running 'emulate:before' gulp task before emulate [11:33:55] Starting 'clean'... [11:33:55] Finished 'clean' after 44 ms [11:33:55] Starting 'build'... [11:33:55] Starting 'sass'... [11:33:55] Starting 'html'... [11:33:55] Starting 'fonts'... [11:33:55] Starting 'scripts'... [11:33:55] Finished 'scripts' after 59 ms [11:33:55] Finished 'html' after 73 ms [11:33:55] Finished 'fonts' after 75 ms [11:33:56] Finished 'sass' after 844 ms [11:34:01] Finished 'build' after 5.81 s [11:34:01] Starting 'emulate:before'... [11:34:01] Finished 'emulate:before' after 13 μs
/bin/sh: cordova: command not found
Caught exception: undefined
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
Ionic info:
Your system information:
Cordova CLI: Not installed Ionic Framework Version: 2.0.0-beta.7 Ionic CLI Version: 2.0.0-beta.30 Ionic App Lib Version: 2.0.0-beta.16 ios-deploy version: Not installed ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v5.9.0 Xcode version: Xcode 7.2 Build version 7C68
Run:
> sudo npm i -g cordova ios-deploy ios-sim
Hello! Thanks for opening an issue with us! It looks like you do not have cordova installed. The command mentioned above should fix this for you. Thanks for using Ionic!