You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Paul Leska (JIRA)" <ji...@apache.org> on 2013/11/07 03:00:17 UTC

[jira] [Updated] (CB-5305) CLI Plugin Add Command Fails for wp8 due to path errors

     [ https://issues.apache.org/jira/browse/CB-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Leska updated CB-5305:
---------------------------

    Description: 
When I issue the command 

cordova -d platform add wp8

I get the following output. 

F:\Development\Projects\Cordova\helloworld>cordova -d platform add wp8
cordova library for "wp8" already exists. No need to download. Continuing.
Checking if platform "wp8" passes minimum requirements...
Checking wp8 requirements...
Running ""C:\Users\Paul\.cordova\lib\wp\cordova\3.1.0\wp8\bin\check_reqs"" (output to follow)

Creating wp8 project...
Running bin/create for platform "wp8" with command: ""C:\Users\Paul\.cordova\lib\wp\cordova\3.1.0\bin\create"  "F:\Development\Projects\Cordova\helloworld\platforms\wp8" "com.test.helloworld" "HelloWorld"" (output to follow)

Error: An error occured during creation of wp8 sub-project.
The system cannot find the path specified.

    at C:\Users\Paul\AppData\Roaming\npm\node_modules\cordova\src\platform.js:246:30
    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)

It works in 3.1.0-0.1.0 but not 3.1.0-0.2.0

  was:
When I issue the command 

cordova -d platform add wp8

I get the following output. 

F:\Development\Projects\Cordova\helloworld>cordova -d platform add wp8
cordova library for "wp8" already exists. No need to download. Continuing.
Checking if platform "wp8" passes minimum requirements...
Checking wp8 requirements...
Running ""C:\Users\Paul\.cordova\lib\wp\cordova\3.1.0\wp8\bin\check_reqs"" (output to follow)

Creating wp8 project...
Running bin/create for platform "wp8" with command: ""C:\Users\Paul\.cordova\lib\wp\cordova\3.1.0\bin\create"  "F:\Development\Projects\Cordova\helloworld\platforms\wp8" "com.test.helloworld" "HelloWorld"" (output to follow)

Error: An error occured during creation of wp8 sub-project.
The system cannot find the path specified.

    at C:\Users\Paul\AppData\Roaming\npm\node_modules\cordova\src\platform.js:246:30
    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)

It seems as though the path might need wp8 in it before the bin directory now. 


> CLI Plugin Add Command Fails for wp8 due to path errors
> -------------------------------------------------------
>
>                 Key: CB-5305
>                 URL: https://issues.apache.org/jira/browse/CB-5305
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI, WP8
>    Affects Versions: 3.1.0
>            Reporter: Paul Leska
>            Assignee: Jesse MacFadyen
>
> When I issue the command 
> cordova -d platform add wp8
> I get the following output. 
> F:\Development\Projects\Cordova\helloworld>cordova -d platform add wp8
> cordova library for "wp8" already exists. No need to download. Continuing.
> Checking if platform "wp8" passes minimum requirements...
> Checking wp8 requirements...
> Running ""C:\Users\Paul\.cordova\lib\wp\cordova\3.1.0\wp8\bin\check_reqs"" (output to follow)
> Creating wp8 project...
> Running bin/create for platform "wp8" with command: ""C:\Users\Paul\.cordova\lib\wp\cordova\3.1.0\bin\create"  "F:\Development\Projects\Cordova\helloworld\platforms\wp8" "com.test.helloworld" "HelloWorld"" (output to follow)
> Error: An error occured during creation of wp8 sub-project.
> The system cannot find the path specified.
>     at C:\Users\Paul\AppData\Roaming\npm\node_modules\cordova\src\platform.js:246:30
>     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)
> It works in 3.1.0-0.1.0 but not 3.1.0-0.2.0



--
This message was sent by Atlassian JIRA
(v6.1#6144)