Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

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

celer opened this issue Jan 3, 2013 · 0 comments

Comments

@celer
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant