Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8106

Can't remove org.apache.cordova.contacts plugin

    XMLWordPrintableJSON

    Details

      Description

      Tried to remove the org.apache.cordova.contacts plugins from a Cordova project and got an error complaning about a plugin dependency. The stack trace I get is as follows:

      Removing "org.apache.cordova.contacts"
      Error: ENOENT, no such file or directory '/home/victor/Hybrid/browsertest/plugins/com.blackberry.utils/plugin.xml'
      at Object.fs.openSync (fs.js:438:18)
      at Object.fs.readFileSync (fs.js:289:15)
      at Object.module.exports.parseElementtreeSync (/home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/cordova-lib/src/util/xml-helpers.js:121:27)
      at findDependencies (/home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:121:34)
      at /home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:126:17
      at Array.forEach (native)
      at findDependencies (/home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:123:14)
      at Function.module.exports.uninstallPlugin (/home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/uninstall.js:130:5)
      at /home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/plugin.js:209:54
      at _fulfilled (/home/victor/Hybrid/cordovas/cordova400/lib/node_modules/cordova/node_modules/q/q.js:798:54)

      My project is fresh new, with no platform support and just this plugin. Also, I'm unsure if this happens to other plugins

        Attachments

          Activity

            People

            • Assignee:
              purplecabbage Jesse MacFadyen
              Reporter:
              sosah.victor Victor Adrian Sosa Herrera
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: