-
Notifications
You must be signed in to change notification settings - Fork 0
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
Wiring pi wont compile #4
Comments
I’ve updated the If you try it, please report back either way. :) |
The problem is wiring-pi 2.0.0 is not ready for node 0.12.x, wiring-pi 2.1.0 will be released in the next weeks with support for node 0.12.x, raspberry pi A+ and raspberry pi 2. |
Cool ! |
Had similar problems and after downgrading to node v0.10.36 it all worked fine (https://node-arm.herokuapp.com/node_0.10.36_armhf.deb). Well apart from Raspberry Pi 2 not being supported yet but that is in the works I read. |
For NodeJS 0.12.x : Before installing piSwitch (if already installed, remove it) And now...it works fine on NodeJS 0.12.x |
Hi Tom, |
@R1CH-T: I’m not sure, I haven’t used PiSwitch in a while. I might get to it this weekend or next – I’ve been meaning to set up it up again in my new appartment, but haven’t had the time. |
Thanks, Tom. :) |
When I do "npm install wiringpi", after a while I get this output:
/home/pi/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, v8::FunctionCallback, v8::Handlev8::Value, v8::Handlev8::Signature, int)
/home/pi/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handlev8::Value(const int&)’ to ‘v8::Isolate_’
wiringPi.target.mk:85: recipe for target 'Release/obj.target/wiringPi/src/bindings.o' failed
make: *** [Release/obj.target/wiringPi/src/bindings.o] Error 1
make: Leaving directory '/home/pi/heimcontrol.js/node_modules/piswitch/node_modules/wiring-pi/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.12.35+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/heimcontrol.js/node_modules/piswitch/node_modules/wiring-pi
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.12.35+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "piswitch"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
/bin/bash ./install.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script '/bin/bash ./install.sh'.
npm ERR! This is most likely a problem with the wiring-pi package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! /bin/bash ./install.sh
npm ERR! You can get their info via:
npm ERR! npm owner ls wiring-pi
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/heimcontrol.js/npm-debug.log
Im using wheezy and wanted to install heimcontrol.js. Any idea what could be wrong? thank you!
The text was updated successfully, but these errors were encountered: