I installed via: npm install -g kaffeine
to get it to work, I had to:
from the kaffeine/bin directory:
ln -s ../lib/plugins plugins
because it's looking for the plugins off of the bin directory.
and at the top of commands.js I had to:
var Kaffeine = require("$complete_path_to_kaffeine_directory"),
I'm sure there is a better way, but that works for me for now.
also, I had optparse installed via:
npm install optparse
but it couldn't find it, so i had to remove that and
npm install -g optparse
I have no idea why, guess I should read up on npm one of these days.