Created
October 8, 2013 23:56
-
-
Save julianduque/6893880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var five = require('johnny-five'); | |
five.Board().on('ready', function () { | |
var servo = new five.Servo(9); | |
this.repl.inject({ | |
servo: servo | |
}); | |
}); |
Node version? What happens when you comment out the repl.inject call?
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
string_decoder.js:3943: Uncaught RangeError: toString() radix argument must be between 2 and 36