npm ERR! peerinvalid; karma-mocha 0.1.8 requires karma 0.12

without this npm install fails:
npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer karma-mocha@0.1.8 wants karma@>=0.12.8
everything else wants karma@>=0.9 or @0.9.3