I'm trying to play with new phonegap-cli main focus is to setup wp8 platform and when running command:
phonegap build wp8
It tries to use PhoneGap Build, which I presume happens because it hasn't found my installed SDK in any path.
I tried to test my thesis and ran this command:
phonegap local build wp8
And it returns this error:
I have .NET Framework v4.0 installed, so this path exists:
So the only thing I think happens is that phonegap can't find where SDK is installed, so I have been searching through the documentation and I couldn't find anything regarding which Environment Variable PhoneGap checks.
So I would really appreciate any kind of help here.
Please make sure that you have added the framework path to the system PATH variable.
In my case it was the above reason and also related to Ant installed and configuration.
This recipe can be found in it's original form on Stack Over Flow.