Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5813

platform update android doesn't work with space in username

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.3.0
    • None
    • cordova-cli
    • None
    • Windows 7 X64

    Description

      Hi all,

      I just updated Cordova from 3.1.0-0.2.0 to 3.3.1-0.2.1

      Running 'cordova platform update android' results in an error and my project not being update. This is due to space in username.

      Doing 'set username=RICKGO~1' does not help this time.

      How can I update my project to latest cordova right now?

      C:\xampp\htdocs\poppler>set username=RICKGO~1

      C:\xampp\htdocs\poppler>cordova platform update android

      C:\Users\RICKGO~1\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
      throw e;
      ^
      Error: Update script failed: Error: Command failed: C:\Users\Rick wordt niet herkend als een interne
      of externe opdracht, programma of batchbestand.
      C:\Users\Rick wordt niet herkend als een interne
      of externe opdracht, programma of batchbestand.

      at C:\Users\RICKGO~1\AppData\Roaming\npm\node_modules\cordova\src\platform.js:123:38
      at ChildProcess.exithandler (child_process.js:641:7)
      at ChildProcess.EventEmitter.emit (events.js:98:17)
      at maybeClose (child_process.js:735:16)
      at Process.ChildProcess._handle.onexit (child_process.js:802:5)

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            Marcoevich Rick Gommers
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: