[
https://issues.apache.org/jira/browse/CB-5813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875103#comment-13875103
]
Rick Gommers commented on CB-5813:
----------------------------------
Thx for the quick fix! :)
> platform update android doesn't work with space in username
> -----------------------------------------------------------
>
> Key: CB-5813
> URL: https://issues.apache.org/jira/browse/CB-5813
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.3.0
> Environment: Windows 7 X64
> Reporter: Rick Gommers
> Assignee: Andrew Grieve
> Priority: Blocker
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)