You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/02 05:11:16 UTC

[jira] [Commented] (CB-6377) CLI is unable to create a project when there are spaces in the path

    [ https://issues.apache.org/jira/browse/CB-6377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13957287#comment-13957287 ] 

ASF subversion and git services commented on CB-6377:
-----------------------------------------------------

Commit 630cf6b953aacb8d6d5f1b9202777140978ade87 in cordova-cli's branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=630cf6b ]

CB-6377 Remove windowsVerbatimArguments from superspawn

It messes up when cmd has a space in it.
This also fixes the previous CB-6377 commit (which I accidentally
pushed), where all paths on windows were going through the "cmd /s /c"
crutch.

close #155


> CLI is unable to create a project when there are spaces in the path
> -------------------------------------------------------------------
>
>                 Key: CB-6377
>                 URL: https://issues.apache.org/jira/browse/CB-6377
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.4.0
>            Reporter: JennyGee
>            Assignee: Josh Soref
>            Priority: Critical
>
> Unable to create a project where there are spaces in the path.
> C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.1.0.3\webworks-cli\node_modules\
> wrench\lib\wrench.js:249
>         if (e.code !== 'EEXIST') throw e;
>                                        ^
> Error: ENOENT, no such file or directory 'C:\Documents and Settings\IEUser\.cord
> ova\lib\blackberry10\cordova\v2.1.0.3'
>     at Object.fs.mkdirSync (fs.js:642:18)
>     at Object.exports.copyDirSyncRecursive (C:\Program Files\BlackBerry\BB10 Web
> Works SDK 2.1.0.3\webworks-cli\node_modules\wrench\lib\wrench.js:246:12)
>     at Object._self.fetchBlackBerry (C:\Program Files\BlackBerry\BB10 WebWorks S
> DK 2.1.0.3\webworks-cli\lib\utils\utils.js:59:20)
>     at new CLI (C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.1.0.3\webworks-c
> li\lib\cli.js:48:19)
>     at Object.<anonymous> (C:\Program Files\BlackBerry\BB10 WebWorks SDK 2.1.0.3
> \webworks-cli\bin\webworks:4:16)
>     at Module._compile (module.js:456:26)
>     at Object.Module._extensions..js (module.js:474:10)
>     at Module.load (module.js:356:32)
>     at Function.Module._load (module.js:312:12)
>     at Function.Module.runMain (module.js:497:10)
> Looking at the source code, it appears that https://issues.apache.org/jira/browse/CB-6323 broke https://issues.apache.org/jira/browse/CB-6306



--
This message was sent by Atlassian JIRA
(v6.2#6252)