Comments (11)
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 quicknode-gyp configure
and a nice solidnode-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.
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.
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.
Let's get @paultag in on this
from johnny-five.
On it, give me a few.
from johnny-five.
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.
@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.
Eeek, issue ACK'd. Let me see here. I think I saw something in the backspew.
from johnny-five.
Thanks @paultag! I'll stay posted.
from johnny-five.
w00t! I'm cooking with jet fuel! Thanks @paultag & @rwldrn.
from johnny-five.
You got it, rock on!
from johnny-five.
Related Issues (20)
- Using PWM and AC DImmer RobotDyn
- Cannot Input Mode Pin 12, 14, 15. ESP8266 HOT 4
- Refactor DS18B20 Temperature Conversion Time Handling
- Usage with Electron of latest J5 versions? HOT 6
- Status of Release?
- Using a Coin selector
- CAN bus with mcp2515 support, and other libraries
- MKR 1010 board HOT 1
- INPUT_PULLUP on digital input pin HOT 12
- I2C Scanner?
- Input pull-up doesn't work on expanders HOT 3
- Unable to use Led.Digits with Multple Boards HOT 4
- Stop stepper while running HOT 2
- Servo animation enqueue is buggy HOT 6
- Calling animation.next inside onloop callback is not working.
- Sensor disable only works once. HOT 3
- Is there a way to use multiple I2C LCD's HOT 2
- RaspberryPi issue HOT 3
- Intermittent Error Code 31 in GetOverlappedResult
- Arduino Mega Link Bork'd HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from johnny-five.