[
https://issues.apache.org/jira/browse/CB-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785442#comment-13785442
]
Shazron Abdullah commented on CB-4992:
--------------------------------------
I thought we had reference counting for this sort of thing - there was
something similar for iOS: CB-4373
> CLI prematurely removes plugin dependency when two plugins share a dependency
> -----------------------------------------------------------------------------
>
> Key: CB-4992
> URL: https://issues.apache.org/jira/browse/CB-4992
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Reporter: Andrew Grieve
>
> {code}
> 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
> {code}
> now:
> {code}
> $ cordova plugin ls
> [ 'org.apache.cordova.file-transfer' ]
> {code}
> and:
>
> {code}
> 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' }
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)