yassinegayl (2) [Avatar] Offline
#1
Hi everyone,

I'm currently reading the MEAP v8 and was facing an issue for running the karma command. In the book, it's said to just install the karma module (with the npm install karma -g command) and then run karma.
However I get the error "Karma command not found".

After some research, it appears that the Command line interface is in a separate package (see here : https://stackoverflow.com/questions/20574357/karma-js-installation-in-webstorm-bash-karma-command-not-found).

After having installed the karma-cli module, the karma command worked well.

Does the book needs an update or do I've forgotten something in my configuration or somewhere else?

Thanks for your answers.

Yassine
rsturim (2) [Avatar] Offline
#2
Re: Karma module needs karma-cli
I experienced the same thing -- went through the same steps to resolve my issues. Seems to me, you are correct ... the text needs to be updated.