Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8000

Fix --usegit option when adding windows and wp8

    XMLWordPrintableJSON

    Details

      Description

      1. Update cordova-lib to latest master or install cordova@rc version from npm

      2. Try adding wp8 or windows using --usegit option

      λ cordova platform add wp8 --usegit -d
      Requesting {"url":"https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=snapshot;h=b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80;sf=tgz","strictSSL":true}...
      Downloading cordova library for wp8...
      Downloaded, unzipped and extracted 247637 byte response.
      Download complete
      Creating wp8 project...
      Running command: C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create /s /c C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create C:\temp\toolsTest\platforms\wp8 io.cordova.hellocordova HelloCordova
      Command finished with error code ENOENT: C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create /s,/c,C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create,C:\temp\toolsTest\platforms\wp8,io.cordova.hellocordova,HelloCordova
      Error: C:\Users\Sergei\.cordova\lib\wp\cordova\b2b1e6185444e0dd6a6b9b19df9005cfc5bc5d80\3.7.0\bin\create: Command failed with exit code ENOENT
          at ChildProcess.whenDone (C:\Users\Sergei\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
          at ChildProcess.emit (events.js:95:17)
          at Process.ChildProcess._handle.onexit (child_process.js:808:12)
      
      

        Attachments

          Activity

            People

            • Assignee:
              kamrik Mark Koudritsky
              Reporter:
              sgrebnov Sergey Grebnov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: