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

TypeError in Chrome 28 #62

Closed
dysbulic opened this issue Jul 2, 2013 · 1 comment
Closed

TypeError in Chrome 28 #62

dysbulic opened this issue Jul 2, 2013 · 1 comment

Comments

@dysbulic
Copy link

dysbulic commented Jul 2, 2013

I go through the following steps to get KadOH up and running on Ubuntu 12.04:

  • wget http://nodejs.org/dist/v0.10.12/node-v0.10.12.tar.gz # needed for browserify
  • cd node-v0.10.12/
  • ./configure
  • make
  • sudo make install
  • git clone https://github.com/jinroh/kadoh.git
  • cd kadoh/
  • npm install nconf optimist colors multimeter klass ltx bncode mustache connect browserify tagify socket.io socket.io-client
  • bin/dht udp.default
  • jake run:udp
  • chromium-browser http://localhost:8080

Then I click the "Connect" button which changes to "Connected". Next I click "Join" which goes to "Joining..." and in the console I get Uncaught TypeError: Cannot call method 'size' of undefined.

The offending statement is: iterfind._currentReduceResult.size(). I get an error at the same place in Firefox 25.

@alexstrat
Copy link
Collaborator

Indeed 1ec243d introduced that bug, I just corrected it.

BTW, you should use npm install . that installs modules with predefined versions (defined in package.json) rather than npm install blah blah that installs latest versions (no warranty to work at first glance).

BTW2, I wrote https://gist.github.com/alexstrat/4069162 once that explains how to launch the UDP DHT like you tried.

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

2 participants