Out of the box Jellyfish doesn't seem to work :( #16

Open
celer opened this Issue Jan 3, 2013 · 0 comments

Projects

None yet

1 participant

celer commented Jan 3, 2013
bash-3.2$ uname -a
Darwin coyote 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
bash-3.2$ node -v
v0.8.9

My .jfrc

{ 
  "firefox": "/Applications/Firefox.app/Contents/MacOS/firefox"
  , "chrome": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
  , "safari": "/Applications/Safari.app/Contents/MacOS/Safari"
  , "interface": "Airport"
  , "username": "username" 
  , "accessKey": "apikey" 
  , "browserName": "firefox" 
  , "version": "4.0" 
}
var jellyfish = require('jellyfish');
var assert = require('assert');

var browser = jellyfish.createChrome(function(){
  console.log("Done");
});

Results in

 Caught exception:  :ReferenceError: b is not defined
 Exception Stack:  :ReferenceError: b is not defined
    at new chrome (/private/tmp/node_modules/jellyfish/lib/browsers.js:117:45)
    at browserEnv.init (/private/tmp/node_modules/jellyfish/lib/env/browserEnv.js:12:18)
    at jellyfish.start (/private/tmp/node_modules/jellyfish/lib/main.js:60:13)
    at fs.readFile (fs.js:176:14)
    at Object.oncomplete (fs.js:297:15)

/private/tmp/node_modules/jellyfish/lib/main.js:189
  _this.log.push(['Caught exception: ' + err]);
  ^
ReferenceError: _this is not defined
    at process.<anonymous> (/private/tmp/node_modules/jellyfish/lib/main.js:189:3)
    at process.EventEmitter.emit (events.js:115:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment