Have you noticed that the command-line Karma runner suddenly isn't being put in the NodeJS bin directory? Yeah, me too. For people with a static NodeJS directory, installed via a package manager or hard install, you can just add this to the path:
But what if you use NVM? Especially on Linux and Mac, you have a pretty cool option, especially if you use a 'default' alias for your current node installation. Put this in your .bashrc script, after your source of the
export KARMA_DIR=~/.nvm/v`cat \ ~/.nvm/alias/default`/lib/node_modules/karma/bin export PATH=$KARMA_DIR:$PATH
Then you're good to go!