WiringPi / WiringPi-Node

Node.js bindings to wiringPi
333 stars 94 forks source link

can't install on Node.js v9.6.1 #90

Open ManfredSteiner opened 6 years ago

ManfredSteiner commented 6 years ago

Installing on Node.js v8.9.4. and kernel 4.4 (using Pi 2 Model B v1.1 (BCM2835, Revision a01041)) works, although warnings are printed out.

But installing (npm install wiring-pi) fails when using Node.js v9.6.1!

    gyp ERR! build error 
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:127:13)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
    gyp ERR! System Linux 4.14.20-v7+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /root/node/server/node_modules/wiringpi-node
    gyp ERR! node -v v9.6.1
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok