Skip to content

Instantly share code, notes, and snippets.

@julianduque
Created October 8, 2013 23:56
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 julianduque/6893880 to your computer and use it in GitHub Desktop.
Save julianduque/6893880 to your computer and use it in GitHub Desktop.
var five = require('johnny-five');
five.Board().on('ready', function () {
var servo = new five.Servo(9);
this.repl.inject({
servo: servo
});
});
@julianduque
Copy link
Author

string_decoder.js:3943: Uncaught RangeError: toString() radix argument must be between 2 and 36

@rwaldron
Copy link

rwaldron commented Oct 9, 2013

Node version? What happens when you comment out the repl.inject call?

@julianduque
Copy link
Author

node@0.10.20 on Ubuntu and if I commend the repl.inject call the result is the same.

It's weird because works on my machine and other people were able to execute the example but other people not.

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