• Home

Dead simple nodejs vagrant box

On https://github.com/lennycartier/nodejs-vagrantbox you will find a dead simple nodejs vagrant box with the following features :

  • ubuntu trusty 64 base box
  • nodejs
  • other installed packages
  • test.js file to easily try nodejs
  • the guest listens on 127.0.0.1:8080 the host on 127.0.0.1:1337

How to use :

  1. install latest vagrant (http://www.vagrantup.com)
  2. install latest virtualbox (http://www.virtualbox.org)
  3. clone this repo and cd into it
  4. do a vagrant up then vagrant provision
  5. ssh into the box with vagrant ssh

Note : nodejs version is the pretty outdated one provided with ubuntu 14.04; but it is fine to start playing with node. I will eventually update the github repo to use NodeSource repo (formerly Chris Lea Launchpad PPA)

Print Email

Cordova asking for target 19 dependencies (Android SDK)

When installing the cordova or phonegap "framework", "buildsystem" or whatever you call it to build Android web apps, the check_reqs script located in ~/.cordova/lib/android/cordova/3.4.0/bin/ keeps asking for unresolved dependencies.

First you have to fire "android" at the command prompt and install updates.

Then you have to install API 19 level packages.

The reason is simply that you are coding for Android Kit Kat wich is version 4.4 and API level 19.

The whole API level list (and more interesting info) is located here : http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

Print Email