WiringPi / WiringPi-Node

Node.js bindings to wiringPi
331 stars 92 forks source link

Install wiring-pi on Raspberry pi 3 with Raspbian Jessie #80

Open sennalb opened 6 years ago

sennalb commented 6 years ago

Hi,

I have follow the install procedure illustrated here https://nodered.org/docs/hardware/raspberrypi for wiring-pi module on Raspbian Jessie. I have also node red installed and I have tested some flow with rpi-gpio nodes and all is OK.

I have installed wiring-pi from git.gordon.net and it is all ok but during the npm install wiring-pi it appear several error on macro EXPORT_CONSTANT_INT...

In attach the install.log created in wiringpi directory. install.log.txt

Thanks Alberto

michaeljanich commented 6 years ago

I have similar problems only since today (been installing it successfully already 6 times)

In file included from ../src/devlib/piNes.h:4:0, from ../src/devlib/piNes.cc:1: ../src/devlib/../addon.h:46:106: error: no matching function for call to 'v8::Object::ForceSet(v8::Local, v8::Local, v8::PropertyAttribute)' v8::Int32::New(isolate, name), static_cast(v8::ReadOnly | v8::DontDelete)); ^

Did you solve your problem since?

michaeljanich commented 6 years ago

I have fixed the problem: I downgraded from node 9.2.0 to 8.9.2 and that "fixed" it.

I propose someone mentions it someplace that it does not work with node v9 and that someone looks at the matter.

THANKS

-M