Skip to content

Instantly share code, notes, and snippets.

@julianduque
Created October 8, 2013 23:56
Show Gist options
  • Select an option

  • Save julianduque/6893880 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown
Author

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

@rwaldron

rwaldron commented Oct 9, 2013

Copy link
Copy Markdown

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

@julianduque

Copy link
Copy Markdown
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