Note that there are some explanatory texts on larger screens.

plurals
  1. PO"Cannot start Chrome" error with Yeoman
    text
    copied!<p>I'm trying to start using Yeoman (it seems awesome indeed) and having an error trying to run the <code>grunt test</code> command.</p> <pre><code>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. </code></pre> <p>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?</p> <p>I'm on Lubuntu, Node.js 0.10.15, Yeoman 1.0RC4.</p> <h2>Update</h2> <p>For anyone else as lost as I was, the following question, <a href="https://stackoverflow.com/questions/14916619/testacular-error-cannot-start-chrome">Testacular error: Cannot start chrome</a>, 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.</p> <p>Like this:</p> <pre><code>browsers = ['chromium-browser']; </code></pre> <p>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).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload