I've sent a pull request with the fix https://github.com/apache/cordova-cli/pull/68
PS. It becomes too complex to maintain wp7/8, windows7/8 cases when we have actual libraries to be placed inside root library/folder. We should find the way to unify this behavior. Thx! Sergey -----Original Message----- From: Don Coleman [mailto:don.cole...@gmail.com] Sent: Monday, November 4, 2013 11:47 PM To: dev@cordova.apache.org Subject: Re: CLI problems with WP8 This looks similar to CB-5183. I was using the latest cordova from npm as of yesterday 3.1.0-0.2.0. I'll add a comment to the JIRA issue. On Mon, Nov 4, 2013 at 1:44 PM, Sergey Grebnov (Akvelon) < v-seg...@microsoft.com> wrote: > 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.cole...@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" >