Skip to content
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

Failed Installation of [email protected] which is bundled with latest [email protected] #100

Open
migabc opened this issue Nov 6, 2020 · 1 comment

Comments

@migabc
Copy link

migabc commented Nov 6, 2020

Hi,

I'm trying to install the latest [email protected] which now comes with [email protected]

But it fails with these errors:

nodeWiringPi.target.mk:126: recipe for target 'Release/obj.target/nodeWiringPi/src/wiringPi.o' failed
make: *** [Release/obj.target/nodeWiringPi/src/wiringPi.o] Error 1
make: Leaving directory '/usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi/build'
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:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.19.66-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/lib/node_modules/homebridge-gpio-device/node_modules/node-wiring-pi
gyp ERR! node -v v12.19.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

  • [email protected]
    added 101 packages from 78 contributors in 23.098s
    pi@raspberrypi:~ $

There seems to be something wrong with new [email protected] installed with [email protected]

Any help appreciated

@migabc
Copy link
Author

migabc commented Nov 7, 2020

Rollback to nodejs 10
Problem solved.
This plugin does not work under nodejs 11 or above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant