Life @ NCP

not everyone needs to go outside to have fun

Random cordova

If you’re setting this up from scratch, here’s what I needed to do to get to a point where I could add the wp8 platform to my gulp/bower/browserify project:

  • Install a fresh copy of Windows 8.1 64 bit
  • Install KB 2919355 and its prerequisite 2975061
  • Install VS 2015, Community Edition RC
  • Install the WP 8.1 emulators
    • Select Mobile Development, Windows Phone Emulator (if you want to use the emulator that is)
    • This will install node (0.10.x) and git
  • Add git to your path. I added both the bin and its associated tools from C:Program Files (x86)Gitcmd;C:Program Files (x86)Gitbin
  • And of course, npm install -g cordova, bower
  • (optional) Remember to install Ruby and gem install sass if you’re using sass.
  • (optional) Some npm packages will also require python
  • And when you’re all set,
    • bower install
    • npm install
    • cordova platform add wp8
    • cordova build wp8
    • Open in VS2015 and do a little dance