I had 

```
$ karma start
Cannot find local Karma!
  Please install karma by `npm install karma --save-dev`.
```

Which I did, then I had:

```
$ karma start
WARN [reporter]: Can not load "coverage", it is not registered!
  Perhaps you are missing some plugin?

/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/node_modules/di/lib/injector.js:9
      throw error('No provider for "' + name + '"!');
            ^
Error: No provider for "framework:mocha"! (Resolving: framework:mocha)
    at error (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/node_modules/di/lib/injector.js:22:68)
    at Object.parent.get (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/node_modules/di/lib/injector.js:9:13)
    at get (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/node_modules/di/lib/injector.js:54:19)
    at /home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/lib/server.js:31:14
    at Array.forEach (native)
    at start (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/lib/server.js:30:21)
    at invoke (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/node_modules/di/lib/injector.js:75:15)
    at Object.exports.start (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/lib/server.js:293:12)
    at Object.exports.run (/home/antoviaque/prog/edx/jquery-xblock/node_modules/karma/lib/cli.js:224:25)
    at requireCliAndRun (/usr/local/lib/node_modules/karma-cli/bin/karma:24:16)
```

The error persisted after installing `npm install mocha`. And `npm install coverage` gives:

```
$ npm install coverage
npm http GET https://registry.npmjs.org/coverage
npm http 200 https://registry.npmjs.org/coverage
npm http GET https://registry.npmjs.org/coverage/-/coverage-0.0.0.tgz
npm http 200 https://registry.npmjs.org/coverage/-/coverage-0.0.0.tgz
npm ERR! Error: ENOENT, chmod '/home/antoviaque/prog/edx/jquery-xblock/node_modules/coverage/bin/nodecoverage'
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "coverage"
npm ERR! cwd /home/antoviaque/prog/edx/jquery-xblock
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/antoviaque/prog/edx/jquery-xblock/node_modules/coverage/bin/nodecoverage
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/antoviaque/prog/edx/jquery-xblock/npm-debug.log
npm ERR! not ok code 0
h