I was running a previous version of Ionic (3.x) with the emulators no problems, Ionic asked me to update at some point saying a new version was out, I went to latest and somewhere things broke. I never really noticed because using serve I don’t have any problems but when I try to run emulate ios I get the issue below. I was previously using a npm command to reinstall ios-sim
cd platforms/ios/cordova/ && npm install ios-sim&latest
but even the above command no longer fixes my emulator issues.
I get the error below.
any help or suggestions. both emulators do not seem to be working anymore, where before I was using emulators on IOS and Android as well as live dev
** BUILD SUCCEEDED **
Error: Cannot find module ‘simctl’
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova emulate ios (exit code 1).
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! FabApp@0.0.1 ionic:emulate ios: ionic cordova emulate ios -lc
npm ERR! Exit status 1
global packages:
@ionic/cli-plugin-proxy : 1.3.2
@ionic/cli-utils : 1.5.0
Cordova CLI : 7.0.1
Ionic CLI : 3.5.0
local packages:
@ionic/app-scripts : 2.0.2
@ionic/cli-plugin-cordova : 1.4.1
@ionic/cli-plugin-ionic-angular : 1.3.2
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic-angular 3.5.3
System:
Node : v8.1.3
OS : macOS Sierra
Xcode : Xcode 8.3.3 Build version 8E3004b
ios-deploy : 1.9.1
ios-sim : 6.0.0
npm : 5.0.3