[tom] added -g flags so the karma dependencies install globally and not locally.