-
Notifications
You must be signed in to change notification settings - Fork 9
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
brickpi-raspberry install fails due to outdated serialport dependency #3
Comments
I tested with serialport 4.0.6 and async 2.1.4, and updated a number of the source files to address a major bug with sensor setup and to add some additional capabilities (new events on sensors, a couple other minor tweaks). Should I create a pull request? |
@RickBullotta do you mind helping me out on this? I'm having the same issue. The first errors appearing during install are these:
|
I'll get back to you early next week when I can pull some code off my laptop. Cheers.
… On Mar 12, 2017, at 10:13 AM, Sumit Kumar ***@***.***> wrote:
@RickBullotta do you mind helping me out on this? I'm having the same issue. The first errors appearing during install are these:
node-pre-gyp ERR! Tried to download(404): https://node-serialport.s3.amazonaws.com/serialport/v1.6.3/Release/node-v51-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for ***@***.*** and ***@***.*** (node-v51 ABI) (falling back to source compile with node-gyp)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Also, check out the Dexter git repo for some updates.
… On Mar 12, 2017, at 10:13 AM, Sumit Kumar ***@***.***> wrote:
@RickBullotta do you mind helping me out on this? I'm having the same issue. The first errors appearing during install are these:
node-pre-gyp ERR! Tried to download(404): https://node-serialport.s3.amazonaws.com/serialport/v1.6.3/Release/node-v51-linux-arm.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for ***@***.*** and ***@***.*** (node-v51 ABI) (falling back to source compile with node-gyp)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@RickBullotta thank you! Have you eventually been able to control lego motors via nodeJS using this library? |
@codeofsumit - I was able to get the motors to move with the updated version you created and pulled from your repository to get around the node-gyp and serialport errors. I have been testing as a function inside a node red flow. I get these errors after the robot moves ones in one direction. here is the main function that I am calling var newMsg = { payload: msg.payload.trim() }; var motorB = new brickpi.Motor({port: brickpi.PORTS.MB, name: 'motorB'}); robot.addMotor(motorB).addMotor(motorC).setup(); robot.on('ready', function() { if (myMsg[0] == "move")
} console.log('Motor '+ mymsg[0]+' '+myMsg[1] ); setTimeout(function() { return msg; Thanks -Phil |
It seems to be based on an ancient version of serialport. Can we get it updated ASAP?
npmoutput.txt
The text was updated successfully, but these errors were encountered: