[ https://issues.apache.org/jira/browse/CB-4943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797938#comment-13797938 ]
Sergey Grebnov commented on CB-4943: ------------------------------------ Verified on 3.1.0-0.1.0; works correct. > Error removing plugin using cordova-cli for Windows8 3.1.x > ---------------------------------------------------------- > > Key: CB-4943 > URL: https://issues.apache.org/jira/browse/CB-4943 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, Plugman, Windows 8 > Affects Versions: 3.1.0 > Environment: windows8 > cordova-cli branch 3.1.x + > pull request > https://github.com/apache/cordova-cli/pull/44 > cordova-windows branch 3.1.x > Reporter: Carlos Santana > Assignee: Jesse MacFadyen > > cordova platform add windows8 > cordova platform rm windows8 > cordova platform add windows8 > cordova plugin add Z:\Documents\cordova-3.1.x\cordova-plugin-file -d > cordova plugin add Z:\Documents\cordova-3.1.x\cordova-plugin-camera -d > But it failed on "cordova plugin rm org.apache.cordova.camera -d" > Error: malformed document. First element should be <plist> wtf? > C:\Users\Carlos\Desktop\Win8-0928> node > Z:\Documents\cordova-3.1.x\cordova-cli\bin\cordova plugin rm > org.apache.cordova.camera -d > Calling plugman.uninstall on plugin "org.apache.cordova.camera" for platform > "windows8" > Uninstalling org.apache.cordova.camera... > Beginning processing of action stack for windows8 project... > Parsing windows8 project files... > Parsing Windows8 project files... > creating jsproj from project at : > C:\Users\Carlos\Desktop\Win8-0928\platforms\windows8\CordovaApp.jsproj > Action stack processing complete. > Writing out windows8 project files... > Preparing windows8 project... > Processing configuration changes for plugins. > Error: malformed document. First element should be <plist> > at Object.exports.parseStringSync > (Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plist\lib\plist.js:80:10) > at Object.exports.parseFileSync > (Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plist\lib\plist.js:19:19) > at > Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:254:67 > at Array.forEach (native) > at > Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:221:67 > at Array.forEach (native) > at > Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:219:49 > at Array.forEach (native) > at Object.module.exports.remove_plugin_changes > (Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:201:35) > at > Z:\Documents\cordova-3.1.x\cordova-cli\node_modules\plugman\src\util\config-changes.js:414:28 -- This message was sent by Atlassian JIRA (v6.1#6144)