Skip to content

Instantly share code, notes, and snippets.

@timkim
Created May 12, 2014 21:50
Show Gist options
  • Save timkim/676da3fba1d91ad8129c to your computer and use it in GitHub Desktop.
Save timkim/676da3fba1d91ad8129c to your computer and use it in GitHub Desktop.
PhoneGap WP8 - build failure
timki_000@PHONEGAP-SF ~/repo/phonegap-app (106-filetransfer)
$ phonegap run wp8 --test
[phonegap] detecting Windows Phone 8 SDK environment...
[phonegap] using the local environment
[phonegap] compiling Windows Phone 8...
WARNING: [ --debug | --release ] not specified, defaulting to debug...
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : c:\Users\timki_000\repo\phonegap-app\platforms\wp8
c:\Users\timki_000\repo\phonegap-app\platforms\wp8\cordova\lib\build.js(56, 5) W
shShell.Exec: The system cannot find the file specified.
[phonegap] successfully compiled Windows Phone 8 app
[phonegap] trying to install app onto device
WARNING: [ --target=<ID> | --emulator | --device ] not specified, defaulting to
--emulator
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : c:\Users\timki_000\repo\phonegap-app\platforms\wp8
ERROR: command failed in deploy.js : %comspec% /c "c:\Users\timki_000\repo\phone
gap-app\platforms\wp8\cordova\build" --debug
c:\Users\timki_000\repo\phonegap-app\platforms\wp8\cordova\lib\build.js(56, 5) W
shShell.Exec: The system cannot find the file specified.
[phonegap] no device was found
[phonegap] trying to install app onto emulator
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : c:\Users\timki_000\repo\phonegap-app\platforms\wp8
ERROR: command failed in deploy.js : %comspec% /c "c:\Users\timki_000\repo\phone
gap-app\platforms\wp8\cordova\build" --debug
c:\Users\timki_000\repo\phonegap-app\platforms\wp8\cordova\lib\build.js(56, 5) W
shShell.Exec: The system cannot find the file specified.
{ [Error: c:\Users\timki_000\repo\phonegap-app\platforms\wp8\cordova\run.bat: Co
mmand failed with exit code 2] code: 2 }
[error] c:\Users\timki_000\repo\phonegap-app\platforms\wp8\cordova\run.bat: C
ommand failed with exit code 2
timki_000@PHONEGAP-SF ~/repo/phonegap-app (106-filetransfer)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment