[ https://issues.apache.org/jira/browse/CB-4433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Braden Shepherdson resolved CB-4433. ------------------------------------ Resolution: Fixed Fix Version/s: 3.1.0 Assignee: Braden Shepherdson (was: Filip Maj) This was fixed in plugman master. > problems removing plugins > ------------------------- > > Key: CB-4433 > URL: https://issues.apache.org/jira/browse/CB-4433 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 3.0.0 > Environment: Mac > Reporter: Mike Sierra > Assignee: Braden Shepherdson > Fix For: 3.1.0 > > > Running 3.0.1. After adding all plugins listed in CLI doc, tried to delete > each listed & got errors on some. E.g., examples starting from this "plugin > ls" baseline: > [ 'com.blackberry.utils', > 'org.apache.cordova.blackberry10.pimlib', > 'org.apache.cordova.core.AudioHandler', > 'org.apache.cordova.core.battery-status', > 'org.apache.cordova.core.camera', > 'org.apache.cordova.core.console', > 'org.apache.cordova.core.contacts', > 'org.apache.cordova.core.device', > 'org.apache.cordova.core.device-motion', > 'org.apache.cordova.core.device-orientation', > 'org.apache.cordova.core.dialogs', > 'org.apache.cordova.core.file', > 'org.apache.cordova.core.file-transfer', > 'org.apache.cordova.core.geolocation', > 'org.apache.cordova.core.globalization', > 'org.apache.cordova.core.inappbrowser', > 'org.apache.cordova.core.media-capture', > 'org.apache.cordova.core.network-information', > 'org.apache.cordova.core.splashscreen', > 'org.apache.cordova.core.vibration' ] > Ulothrix:hello sierra$ cordova plugin rm org.apache.cordova.core.media-capture > { [Error: Uh oh! > ENOENT, no such file or directory > '/Users/sierra/sandbox/pg/hello/platforms/android/src/org/apache/cordova/core/Capture.java'] > errno: 34, > code: 'ENOENT', > path: > '/Users/sierra/sandbox/pg/hello/platforms/android/src/org/apache/cordova/core/Capture.java', > syscall: 'unlink' } > Ulothrix:hello sierra$ cordova plugin rm org.apache.cordova.core.dialogs > { [Error: ENOENT, no such file or directory > '/Users/sierra/sandbox/pg/hello/plugins/org.apache.cordova.core.file/plugin.xml'] > errno: 34, > code: 'ENOENT', > path: > '/Users/sierra/sandbox/pg/hello/plugins/org.apache.cordova.core.file/plugin.xml', > syscall: 'open' } > Debug output for "cordova -d plugin rm > org.apache.cordova.core.media-capture": > Error: ENOENT, no such file or directory > '/Users/sierra/sandbox/pg/hello/plugins/org.apache.cordova.core.file/plugin.xml' > at Object.fs.openSync (fs.js:427:18) > at Object.fs.readFileSync (fs.js:284:15) > at Object.module.exports.parseElementtreeSync > (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/xml-helper\ > s.js:107:27) > at > /usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/dependencies.js:13:35 > at Array.forEach (native) > at Object.module.exports.generate_dependency_info > (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/util/depend\ > encies.js:11:45) > at runUninstall > (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:83:40) > at Function.module.exports.uninstallPlatform > (/usr/local/lib/node_modules/cordova/node_modules/plugman/src/uninstall.js:42:\ > 5) > at /usr/local/lib/node_modules/cordova/src/plugin.js:148:51 > at Array.forEach (native) > Also got confusing feedback when trying to remove file plugin before > file-transfer: > Ulothrix:hello sierra$ cordova plugin rm org.apache.cordova.core.file > [Error: Another top-level plugin (org.apache.cordova.core.file-transfer) > relies on plugin org.apache.cordova.core.file, therefo\ > re aborting uninstallation.] > Ulothrix:hello sierra$ cordova plugin rm org.apache.cordova.core.file-transfer > Ulothrix:hello sierra$ cordova plugin rm org.apache.cordova.core.file > [Error: Plugin "org.apache.cordova.core.file" not added to project.] > Ulothrix:hello sierra$ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira