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

Deploy on WP8 fails to run specific target

    XMLWordPrintableJSON

    Details

      Description

      Repro steps

      1. Create cordova app
      2. Add wp8 platform
      3. Run command below

       cordova run --target="Emulator WVGA"
      

      Observe the following error

      Deploying package to Emulator WVGA
      ERROR: TypeError: Object #<Object> has no method 'findDevice'
          at C:\temp\363\app2\platforms\wp8\cordova\lib\package.js:36:67
          at _fulfilled (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:787:54)
          at self.promiseDispatch.done (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:816:30)
          at Promise.promise.promiseDispatch (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:749:13)
          at C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:810:14
          at flush (C:\temp\363\app2\platforms\wp8\cordova\node_modules\Q\q.js:108:17)
          at process._tickCallback (node.js:419:13)
      Error: C:\temp\363\app2\platforms\wp8\cordova\run.bat: Command failed with exit code 2
          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:98:17)
          at maybeClose (child_process.js:756:16)
          at Process.ChildProcess._handle.onexit (child_process.js:823:5)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: