Git Product home page Git Product logo

Comments (11)

paultag avatar paultag commented on July 22, 2024 3

OK, @beriberikix, got this going.

Two things that suck:

  • So, node-gyp does need to be globally installed (I can't endorse doing this via npm, but if it works, I guess it works ;) )
  • npm is not (fully?) running the binding.gyp in serialport (le sigh) -- the fix was simple on my end, cd into the node_modules/serialport and issue a quick node-gyp configure and a nice solid node-gyp build. Keep in mind you'll need a basic toolchain (etc), which can be provided with build-essential (at least).

You can verify it looks sane by cd'ing into node_modules/serialport and running this snippit:

if [ "x`find . -name "serial*node"`" = "x" ]; then echo "Something sucks"; else echo "Looks OK"; fi

Happy hacking!

If this fixes this, feel free to close the bug, or re-assign to serialport :)

from johnny-five.

rwaldron avatar rwaldron commented on July 22, 2024

Unfortunately, this is first documented failure on Rasberry PI, previous attempts were all successful. The issue is with compiling the serialport bindings - so it should be filed with node-serialport. However, it seems that the issue is usually fixed by installing node-gyp globally (IIRC)

from johnny-five.

beriberikix avatar beriberikix commented on July 22, 2024

No dice. npm install -g node-gyp and same thing. I'm going to take a deeper
look at my node build or Raspberian itself to see if there's anything there.

I'll follow up with serialport and post the results here - but you can
close for now.

On Wed, Aug 15, 2012 at 3:38 PM, Rick Waldron [email protected]:

Unfortunately, this is first documented failure on Rasberry PI, previous
attempts were all successful. The issue is with compiling the serialport
bindings - so it should be filed with node-serialport. However, it seems
that the issue is usually fixed by installing node-gyp globally (IIRC)


Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-7771709.

from johnny-five.

rwaldron avatar rwaldron commented on July 22, 2024

Let's get @paultag in on this

from johnny-five.

paultag avatar paultag commented on July 22, 2024

On it, give me a few.

from johnny-five.

rwaldron avatar rwaldron commented on July 22, 2024

Awesome. @beriberikix this is @paultag, he's a debian committer and raspberry pi owner as well, and so hopefully he can help get up and running :)

from johnny-five.

paultag avatar paultag commented on July 22, 2024

@beriberikix My IO is gnarly (SD card problems), but serialport is installing via npm correctly -- I'm going to look into this s'more, but can you pastebin the full output / npm debug log while I wait for this guy to finish crunching?

from johnny-five.

paultag avatar paultag commented on July 22, 2024

Eeek, issue ACK'd. Let me see here. I think I saw something in the backspew.

from johnny-five.

beriberikix avatar beriberikix commented on July 22, 2024

Thanks @paultag! I'll stay posted.

from johnny-five.

beriberikix avatar beriberikix commented on July 22, 2024

w00t! I'm cooking with jet fuel! Thanks @paultag & @rwldrn.

from johnny-five.

paultag avatar paultag commented on July 22, 2024

You got it, rock on!

from johnny-five.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.