Phonegap Cordova installation Windows
Asked 07 September, 2021
Viewed 629 times
  • 60
Votes

The documentation for phonegap/cordova is absolutely horrible. All I'm trying to do is install PhoneGap 3.0 on my Windows environment but having no success.

Below are my steps and points of failure. Can anyone advise on solutions?

According to the instructions:

  1. Install Node.js (SUCCESSFUL)
  2. From nodes.js: install -g cordova (SUCCESSFUL)
  3. Add Platform: cordova platform add wp8 (NOTHING HAPPENS)
  4. Try with phonegap: phonegap install wp8 (ERROR project directory could not be found)

From "Windows Phone 8 platform guide"

  1. Install Windows SDK (SUCCESSFUL)
  2. "Download and extract the latest copy of [PhoneGap. You will be working in the libwindows-phone-8wp8 subfolder, libwindows-phone-8wp7 contains the Windwos Phone 7 version of Cordova"

HUH?!?! What location is the directory in?!?! So I've found the undocumented phonegap directory buried in AppDataLocal... and there IS a libs directory but there certainly is NOT any WP8 subfolders. Where would one install that from? Presumably the add platform command above, but add that simply returns me to a new command prompt.

Tried using the phonegap command: phonegap plaform add wp8

ERROR - 'platform add wp8" is not a node.

I get its open source but this is brutal spaghetti reference documentation. If anyone has been able to successfully install 3.0 for WP8 any pointers would be help.

13 Answer