I'm trying to start using Yeoman (it seems awesome indeed) and having an error trying to run the grunt test
command.
Running "karma:unit" (karma) task
INFO [karma]: Karma server started at http://localhost:8080/
INFO [launcher]: Starting browser Chrome
WARN [watcher]: Pattern "/home/jaywalking101/Dropbox/demokritos/test/mock/**/*.js" does not match any file.
ERROR [launcher]: Cannot start Chrome
Can not find the binary google-chrome
Please set env variable CHROME_BIN
Warning: Task "karma:unit" failed. Use --force to continue.
Aborted due to warnings.
A search didn't help me much. I found some references to similar problems but nothing clear enough (to my current knowledge). Any clues? Solutions? Anything?
I'm on Lubuntu, Node.js 0.10.15, Yeoman 1.0RC4.
Update
For anyone else as lost as I was, the following question, Testacular error: Cannot start chrome, made me start thinking there is no Chrome Browser on Ubuntu, but there is Chromium. And although it's not in the supported browsers list on karma code it seems to be a valid option.
Like this:
browsers = ['chromium-browser'];
The question I mentioned before talks about testacular, but the solution worked just fine for me with karma. (perhaps they are the same thing somehow. I really do not know much about these subjects yet).