-
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
"npm install brickpi-raspberry" fails #1
Comments
Brian, Sorry. I have no idea what's wrong.
|
According to https://gist.github.com/justinjenkins/16adc15338bb265f6808, looks like this was a problem with the very old version of npm (and node) that are in Raspbian wheezy. I upgraded to npm 2.14.12 / node 4.3.2 (ARMv7), and now the installation begins, but very quickly runs into errors. Before I go into details, would you please let me know what versions of npm and node you have brickpi-raspberry working with? |
Here's the beginning of the errors I get:
and then, a few hundred lines later,
/home/pi/npm-debug.log is 1756 lines long, so I won't paste the whole thing here unless it would help. |
Brian, I don't have the environment installed anymore, but from memory, I had used
|
Thank you, I appreciate the help! Looking forward to coding robotics in Node. |
Brian, You'll have to give me a bit more time on this. I realize that I don't /Luc On 2016-03-02 09:42 PM, Brian Kendig wrote:
|
I am patient! Thank you for your effort! |
Had the same issue. Updating node fixed it. Take a look at: http://stackoverflow.com/questions/12913141/message-failed-to-fetch-from-registry-while-trying-to-install-any-module |
Thank you so very much for this info. /Luc On 2016-04-01 11:54 AM, schweinegrippe94 wrote:
|
@schweinegrippe94 - so you're saying you were able to get brickpi-raspberry and serialport both installed on your Pi? What versions of nodejs and npm did you get them to work with? |
Sorry, but I´m unable to check this. I had to give back the Hardware to my University. But i guess it was the current release, installed by the install script. |
I wasn't able to get this to work with the current release a few weeks ago (npm 2.14.12 / node 4.3.2 ARMv7), so I'm still eager for news from @lmclupr about how to get it to work. |
I've been trying all day to get this to work on the latest Raspbian from raspberrypi.org, and getting the same error around Serialport failing to install. Just built an SD card from the DEXTER latest image, and boom, it worked first time! So something in the October '16 Dexter image helps the install to work. Just FYI. |
You need the dexter image for it to work. Its tuned somehow for this. Luc On Nov 13, 2016 4:57 PM, "WayneKennedy" [email protected] wrote:
|
@WayneKennedy I do have the same problem and I have the dexter industries image. This is what I get when I type This is what is in the file "version" on the Pi's desktop: I can install all other npm dependencies but install of brickpi-raspberry fails
|
I just went through the Dexter Update process for BrickPi3 and "Dexterind Software" and I still get this error. |
Made it work. Had to install an older version of serialport (2.1.2) manually, updating the dependency for this lib in the package.json and then it worked. |
On my Raspberry Pi with BrickPi, this command:
npm install brickpi-raspberry
fails:
The text was updated successfully, but these errors were encountered: