cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <>
Subject [jira] [Created] (CB-4943) Error removing plugin using cordova-cli for Windows8 3.1.x
Date Sat, 28 Sep 2013 13:17:04 GMT
Carlos Santana created CB-4943:

             Summary: Error removing plugin using cordova-cli for Windows8 3.1.x
                 Key: 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
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 -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 -d
Calling plugman.uninstall on plugin "" for platform "windows8"
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message