How to fix "There is no server listening on port 9876" error while running karma?

user2853731 picture user2853731 · Nov 29, 2013 · Viewed 11.9k times · Source

I am running the following:

PS D:\app> karma run

It shows the error:

[2013-11-29 17:39:54.297] [DEBUG] config - Loading config D:\app\karma.conf.js
There is no server listening on port 9876

How do I fix this?

Answer

luboskrnac picture luboskrnac · Feb 12, 2014

You should use karma start command to execute karma test suite from command line.