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

raspberry pi3 #128

Open
glavermicocca opened this issue Jun 12, 2020 · 3 comments
Open

raspberry pi3 #128

glavermicocca opened this issue Jun 12, 2020 · 3 comments

Comments

@glavermicocca
Copy link

it doesn't work -> sudo npm install bluetooth-hci-socket

binding.target.mk:109: set di istruzioni per l'obiettivo "Release/obj.target/binding/src/BluetoothHciSocket.o" non riuscito
make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Errore 1
make: uscita dalla directory "/home/pi/node-bluetooth-hci-socket/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:315: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" "build" "--fallback-to-build" "--module=/home/pi/node-bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/home/pi/node-bluetooth-hci-socket/lib/binding"
gyp ERR! cwd /home/pi/node-bluetooth-hci-socket
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node-bluetooth-hci-socket/lib/binding/binding.node --module_name=binding --module_path=/home/pi/node-bluetooth-hci-socket/lib/binding' (1)
node-pre-gyp ERR! stack at ChildProcess. (/home/pi/node-bluetooth-hci-socket/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 4.19.66-v7+
node-pre-gyp ERR! command "/usr/bin/node" "/home/pi/node-bluetooth-hci-socket/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/pi/node-bluetooth-hci-socket
node-pre-gyp ERR! node -v v12.18.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/pi/node-bluetooth-hci-socket/lib/binding/binding.node --module_name=binding --module_path=/home/pi/node-bluetooth-hci-socket/lib/binding' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-06-12T15_37_12_946Z-debug.log
pi@raspiTermo2:~/node-bluetooth-hci-socket $ binding.target.mk:109: set di istruzioni per l'obiettivo "Release/obj.target/binding/src/BluetoothHciSocket.o" non riuscito
make: *** [Release/obj.target/binding/src/BluetoothHciSocket.o] Errore 1
make: uscita dalla directory "/home/pi/node-bluetooth-hci-socket/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:315: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" "build" "--fallback-to-build" "--module=/home/pi/node-bluetooth-hci-socket/lib/binding/binding.node" "--module_name=binding" "--module_path=/home/pi/node-bluetooth-hci-socket/lib/binding"
gyp ERR! cwd /home/pi/node-bluetooth-hci-socket
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok

@BCsabaEngine
Copy link

Same issue

@syntheticencounters
Copy link

I had to downgrade node to version 8.9.4 to get a successful install

@rzr
Copy link

rzr commented Oct 1, 2021

May you forward your ticket to downstream version if relevant or confirm @abandonware version match your requirements here:

#123

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

4 participants