I ran into this problem while trying to update the plugin.
Start by removing the plugins folder <myapp>/plugins/cordova-plugin-file-transfer , as suggested by this post . If the plugin still cannot be deleted using the cord, edit the 3 json files in <your_app>/plugins and delete all the links to cordova-plugin-file-transfer.
---- removed from android.json ----
"cordova-plugin-file-transfer": { "PACKAGE_NAME": "com.mycompany.myapp" }
---- removed from ios.json ----
"cordova-plugin-file-transfer": { "PACKAGE_NAME": "com.mycompany.myapp" }
---- removed from fetch.json ----
"cordova-plugin-file-transfer": { "source": { "type": "registry", "id": "cordova-plugin-file-transfer" }, "is_top_level": true, "variables": {} }
Cordoba now finds out that the plugin is not installed. This solved my upgrade problem as I was finally able to run cordova plugin add cordova-plugin-file-transfer without getting an error.
user5578554
source share