I was having trouble with my HomeBridge installation — this description of local/global npm installations bailed me out: npm 1.0: Global vs Local installation | Node.js