Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ionic state reset --plugins" fails #996

Closed
lhammond opened this issue May 11, 2016 · 5 comments
Closed

"ionic state reset --plugins" fails #996

lhammond opened this issue May 11, 2016 · 5 comments

Comments

@lhammond
Copy link

$ ionic state reset --plugins
Removed platforms and plugins
Attempting to restore your Ionic application from package.json

Restoring Plugins

cordova plugin add org.apache.cordova.device
cordova plugin add org.apache.cordova.console
cordova plugin add com.ionic.keyboard
Caught exception:
undefined

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Your system information:

Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.0.0-rc.4
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: Not installed
ios-sim version: 4.1.1
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.3 Build version 7D175

@jgw96
Copy link
Contributor

jgw96 commented May 11, 2016

Hello! Thanks for opening an issue with us. We are currently in the process of deprecating the ionic state commands in favor of doing it the cordova way. https://cordova.apache.org/docs/en/latest/platform_plugin_versioning_ref/index.html You can keep up with the status of this on #904 . Thanks for using Ionic!

@jgw96 jgw96 closed this as completed May 11, 2016
@amcastror
Copy link

Hi @jgw96, which is the "cordova way"? I'm stuck with the same issue but when adding the cordova-plugin-device plugin.

Thanks!

@DharmendraVaishnav91
Copy link

Facing the same issue showing caught exception got undefined.

@fikkatra
Copy link

fikkatra commented Jan 23, 2017

As ionic state swallows the exception, I tried debugging by running the command separately:
> cordova plugin add cordova-plugin-device

This showed me an EACCES error. Running
> ionic hooks add

solved the issue for me, and running ionic state reset works fine now.

@Dbl0207
Copy link

Dbl0207 commented Nov 21, 2017

screen shot 2017-11-21 at 5 54 52 pm

Im running a icymobi from CLI, but when restoring Cordova plugins, its running for 4 hours. Still not end. Can you advice me what could be the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants