cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Coleman <don.cole...@gmail.com>
Subject CLI problems with WP8
Date Sun, 03 Nov 2013 20:02:02 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message