Issue running karma with firefox 20 on ubuntu #935

Closed
jsloyer opened this Issue Mar 4, 2014 · 7 comments

Comments

Projects
None yet
3 participants

jsloyer commented Mar 4, 2014

I am trying to run karma with firefox 20 on ubuntu and getting the following error, has anyone ever seen this or knows what is going on?

INFO [karma]: Karma v0.10.9 server started at http://localhost:9876/
INFO [launcher]: Starting browser Firefox
WARN [watcher]: Pattern "/var/lib/jenkins/jobs/Deploy_ServiceEngage_GA_Site/workspace/cms/wp-content/themes/projectnext-smconnect/tests/ui_tests/unit/test/fixtures/*/.js" does not match any file.
INFO [Firefox 20.0.0 (Ubuntu)]: Connected on socket kcLA8vNrCyECDuewXNz2
Firefox 20.0.0 (Ubuntu) ERROR
Error: Cannot find module 'QaO58H'
at /tmp/karma-browerify.js:1
Firefox 20.0.0 (Ubuntu) ERROR
Error: Cannot find module 'QaO58H'
at /tmp/karma-browerify.js:1
Firefox 20.0.0 (Ubuntu): Executed 0 of 0 ERROR (0.162 secs / 0 secs)

what about the warning pattern xxx does not match any file. ?
tried to fix this ?
the project name projectnext-smconnect looks suspicious some how.. ?

regards
~david

jsloyer commented Mar 4, 2014

Oh don't worry about the pattern thing, thats a custom filter we have to filter out some files. The projectnect-smconnect is an internal name...

ok, asked just to make sure it's unrelated.

jsloyer commented Mar 5, 2014

More debug info...

INFO [launcher]: Trying to start Firefox again.
DEBUG [launcher]: Creating temp dir at /tmp/karma-8195791
DEBUG [launcher]: firefox http://localhost:9876/?id=8195791 -profile /tmp/karma-8195791 -no-remote
DEBUG [launcher]: Process Firefox exitted with code 1
ERROR [launcher]: Cannot start Firefox

DEBUG [launcher]: Cleaning temp dir /tmp/karma-8195791
INFO [launcher]: Trying to start Firefox again.
DEBUG [launcher]: Creating temp dir at /tmp/karma-8195791
DEBUG [launcher]: firefox http://localhost:9876/?id=8195791 -profile /tmp/karma-8195791 -no-remote
DEBUG [launcher]: Process Firefox exitted with code 1
ERROR [launcher]: Cannot start Firefox

DEBUG [karma]: Firefox failed to capture, aborting the run.
DEBUG [launcher]: Disconnecting all browsers
DEBUG [launcher]: Killing Firefox
DEBUG [launcher]: Cleaning temp dir /tmp/karma-8195791

Contributor

vojtajina commented Mar 8, 2014

Looks like you are using browserify and some of the generated modules is not being loaded.

Create issue at karma-browserify (https://github.com/xdissent/karma-browserify/issues/new), I think it would be better to use real module names rather than base64 (https://github.com/xdissent/karma-browserify/blob/master/src/index.coffee#L30) but I might be missing something.

Contributor

vojtajina commented Mar 8, 2014

Did you try other browser? Because I don't think this has anything to do with Firefox.

jsloyer commented Mar 9, 2014

No I haven't just used firefox, it appears to be an issue the way browserify is hashing objects internally. Marking this issue as closed because its not an issue with karma.

jsloyer closed this Mar 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment