Skip to content

Instantly share code, notes, and snippets.

@tlvince
Created June 27, 2014 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlvince/f9af42f0739206c5447a to your computer and use it in GitHub Desktop.
Save tlvince/f9af42f0739206c5447a to your computer and use it in GitHub Desktop.
> ./node_modules/karma/bin/karma start --autoWatch true --singleRun false
INFO [karma]: Karma v0.12.16 server started at http://localhost:8080/
INFO [launcher]: Starting browser PhantomJS
INFO [PhantomJS 1.9.7 (Mac OS X)]: Connected on socket Z3gGAGnunLAnf4G_rKv6 with id 73751336
PhantomJS 1.9.7 (Mac OS X) ERROR
TypeError: 'undefined' is not a function (evaluating 'eventEmitter[method].bind(eventEmitter)')
at /Users/tom/Projects/src/chrome/ehealth/LMIS-Chrome/app/bower_components/pouchdb/dist/pouchdb-nightly.js:5720
@vilsbole
Copy link

I'm getting the same error with pouchdb and karma. Where you able to solve it?
I've double checked my dependencies and my includes in karma.conf.js and there doesn't seem to be anything missing.

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