Showing posts with label karma - can not start chrome. Show all posts
Showing posts with label karma - can not start chrome. Show all posts

Friday, November 7, 2014

karma - can not start chrome

INFO [karma]: Karma v0.12.24 server started at http://localhost:xxxx/
INFO [launcher]: Starting browser Chrome
ERROR [launcher]: Cannot start Chrome


Set chrome path using
export CHROME_BIN=/opt/google/chrome/google-chrome
Now run your script.

If you are still facing this error, Install chrome launcher using
npm install karma-chrome-launcher
Now run your script.

If you are still facing this error.
Kill all instances of chrome.
Output of `ps aux | grep chrome | grep -v grep` should be empty.
Now run your script.