Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Error trying to remove the plugin #19

Closed
quedicesebas opened this issue Jun 19, 2015 · 6 comments
Closed

Error trying to remove the plugin #19

quedicesebas opened this issue Jun 19, 2015 · 6 comments

Comments

@quedicesebas
Copy link

This happen when I try to remove the plugin from my app (I think you miss to rename some things, the cli is looking at com.phonegap.plugins.PushPlugin, when the plugin folder is called phonegap-plugin-push)

E:\LocalDocs\Iridian\PilotoAutomatico\PilotoAutomaticoConductoresCLI>cordova plu
gin rm phonegap-plugin-push
Uninstalling phonegap-plugin-push from android
Removing "phonegap-plugin-push"
Error: ENOENT, no such file or directory 'E:\LocalDocs\Iridian\PilotoAutomatico
PilotoAutomaticoConductoresCLI\plugins\com.phonegap.plugins.PushPlugin\plugin.xm
l'
at Object.fs.openSync (fs.js:438:18)
at Object.fs.readFileSync (fs.js:289:15)
at Object.module.exports.parseElementtreeSync (C:\Users\DELL\AppData\Roaming
\npm\node_modules\cordova\node_modules\cordova-lib\src\util\xml-helpers.js:118:2
7)
at new PluginInfo (C:\Users\DELL\AppData\Roaming\npm\node_modules\cordova\no
de_modules\cordova-lib\src\PluginInfo.js:320:37)
at PluginInfoProvider.get (C:\Users\DELL\AppData\Roaming\npm\node_modules\co
rdova\node_modules\cordova-lib\src\PluginInfoProvider.js:35:32)
at C:\Users\DELL\AppData\Roaming\npm\node_modules\cordova\node_modules\cordo
va-lib\src\plugman\util\dependencies.js:42:49
at Array.forEach (native)
at Object.module.exports.package.generateDependencyInfo (C:\Users\DELL\AppDa
ta\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\util\de
pendencies.js:38:45)
at C:\Users\DELL\AppData\Roaming\npm\node_modules\cordova\node_modules\cordo
va-lib\src\plugman\uninstall.js:166:37
at Array.forEach (native)

@macdonst
Copy link
Member

@sebrojas14 I can't reproduce this. Is it possible you installed the plugin before the plugin name was changed to phonegap-plugin-push?

Try creating a new project and add/rm the plugin, then let me know.

@quedicesebas
Copy link
Author

My project had the previous plugin installed. I uninstalled the old plugin, then I installed the new plugin, and then when I tried to uninstall the new plugin I got that error. Finally I removed the plugin manually. Maybe something messed up in the way. If not happen with a new project maybe we can close this.

@macdonst
Copy link
Member

Yeah, I'm going to close this as it should not happen going forward with the package ID consistently being phonegap-plugin-push going forward.

@RenateM
Copy link

RenateM commented Nov 22, 2016

Hi

I also had the above mentioned issue after updating to the newest version of this plugin. I can't remove it now. Recreating my project is not an option.

How do I go about manually removing the plugin?

Kind regards

@belkashehaj
Copy link

@sebrojas how can i remove plugin manually?

@lock
Copy link

lock bot commented Jun 3, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

4 participants