Skip to content

Instantly share code, notes, and snippets.

@RafalWilinski
Last active May 5, 2017 00:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RafalWilinski/6efaa5eed78545ab28fe to your computer and use it in GitHub Desktop.
Save RafalWilinski/6efaa5eed78545ab28fe to your computer and use it in GitHub Desktop.
Complete solution for repairing your Ionic app
ps aux | grep deploy | tr -s " " | cut -d " " -f2 | xargs kill
ps aux | grep lldb | tr -s " " | cut -d " " -f2 | xargs kill
sudo npm update
sudo npm uninstall cordova ionic ios-sim ios-deploy
sudo npm install -g cordova ionic ios-sim ios-deploy
cordova platform rm ios
cordova platform add ios
ionic prepare ios
ionic state reset
ionic state restore
cordova plugin rm cordova-plugin-inappbrowser
cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser.git
cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment