Apache Cordova
  1. Apache Cordova
  2. CB-4992

CLI prematurely removes plugin dependency when two plugins share a dependency

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: CLI
    • Labels:
      None

      Description

      cordova create foo com.google.foo foo
      cd foo
      cordova platform add android
      cordova plugin add org.apache.cordova.media-capture
      cordova plugin add org.apache.cordova.file-transfer
      cordova plugin rm org.apache.cordova.media-capture
      

      now:

      $ cordova plugin ls
      [ 'org.apache.cordova.file-transfer' ]
      

      and:

      cordova plugin rm org.apache.cordova.file-transfer
      { [Error: ENOENT, no such file or directory '/Users/agrieve/git/cordova/cordova-app-harness/foo/plugins/org.apache.cordova.file/plugin.xml']
        errno: 34,
        code: 'ENOENT',
        path: '/Users/agrieve/git/cordova/cordova-app-harness/foo/plugins/org.apache.cordova.file/plugin.xml',
        syscall: 'open' }
      

        Issue Links

          Activity

            People

            • Assignee:
              Braden Shepherdson
              Reporter:
              Andrew Grieve
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development