Cannot find plugin.xml for plugin 'com.ionic.keyboard'

I get this error :

$ cordova plugin remove ionic-plugin-keyboard
Uninstalling ionic-plugin-keyboard from android
Cannot find plugin.xml for plugin 'com.ionic.keyboard'. Please try adding it again.

but plugin.xml is here, see :

$ ls plugins/ionic-plugin-keyboard/
LICENSE  package.json  plugin.xml  src  www

Can you help ?



anyone can help me with this ?

I also met this error.
I think we must remove platform from package.json file. So try:

ionic platform rm android
ionic platform rm ios

And it works for me.

This is quite drastic for a silly issue. There must be some other way to solve this