The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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.