Error - npm doesn't install packages with GitHub dependencies

To set in your node project a dependency from github you just need to include the <username>/<repository> on package.json:

If you are getting the error below then probably you don't have git installed in your environment. Install that and should fix this problem.