cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (Akvelon)" <v-seg...@microsoft.com>
Subject RE: CLI problems with WP8
Date Mon, 04 Nov 2013 18:44:33 GMT
Hi Don,
It could be similar to CB-5183 WP7/8 custom_path is not correctly resolved by CLI
I reported and sent a pull request on last week (not merged yet).

Could you please add this as Jira issue and assign it to me (Sergey Grebnov).
Suppose you use latest cordova cli available through npm (npm install cordova)

Thx!
Sergey
-----Original Message-----
From: Don Coleman [mailto:don.coleman@gmail.com] 
Sent: Monday, November 4, 2013 12:02 AM
To: dev@cordova.apache.org
Subject: CLI problems with WP8

cordova platform add wp8 is failing for me

The cli add script is trying to run bin/create instead of wp8/bin/create

Cordova 3.1.0-0.2.0
Windows 8.1

I'm hoping I might have something configured incorrectly?

C:\Users\don>cordova create foo
Creating a new cordova project with name "HelloCordova" and id "io.cordova.hellocordova" at
location "C:\Users\don\foo"

C:\Users\don>cd foo

C:\Users\don\foo>cordova -d platform add wp8 Downloading cordova library for wp8...
Requesting {"uri":"
https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=3.1.0;sf=tgz
"}...
Downloaded, unzipped and extracted 249399 byte response.
Download complete
Checking if platform "wp8" passes minimum requirements...
Checking wp8 requirements...
Running ""C:\Users\don\.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\don\.cordova\lib\wp\cordova\3.1.0\bin\create"
 "C:\Users\don\foo\platforms\wp8" "io.cordova.hellocordova" "HelloCordova""
(output to follow)

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

    at
C:\Users\don\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 Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)

Manually adjusting the path adds the platform OK

"C:\Users\don\.cordova\lib\wp\cordova\3.1.0\wp8\bin\create"
 "C:\Users\don\foo\platforms\wp8" "io.cordova.hellocordova" "HelloCordova"

Mime
View raw message