Open MakerDockio opened 3 years ago
As far as I see this is related rather to the installation of @abandonware/noble module You can redirect your issue to the issue tracker of that project
Just conquered this one last night. noble will not co-operate if you used snap to install node-red. I had to kill the snap install and use the usual scripts for installing nodered that puts it where noble expects it.
Just tried installing the pallete in Node Red and it errors:
Seems that the Get request is hitting a 404 for the binary.
Error Log:
2021-01-19T11:29:52.043Z Install : node-red-contrib-xiaomi-ble 1.3.1
2021-01-19T11:29:52.133Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-xiaomi-ble@1.3.1 2021-01-19T11:30:12.306Z [out] 2021-01-19T11:30:12.306Z [out] > usb@1.6.3 install /config/node-red/node_modules/usb 2021-01-19T11:30:12.306Z [out] > prebuild-install --verbose || node-gyp rebuild 2021-01-19T11:30:12.306Z [out] 2021-01-19T11:30:13.058Z [err] prebuild-install 2021-01-19T11:30:13.060Z [err] (/config/node-red/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2021-01-19T11:30:20.255Z [err] node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
2021-01-19T11:30:20.256Z [err] node-pre-gyp ERR!
2021-01-19T11:30:20.256Z [err] stack at maybeClose (internal/child_process.js:1021:16)
2021-01-19T11:30:20.256Z [err] node-pre-gyp ERR!
2021-01-19T11:30:20.256Z [err] stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
2021-01-19T11:30:20.257Z [err] node-pre-gyp
2021-01-19T11:30:20.257Z [err] ERR! System Linux 5.4.79-v8
2021-01-19T11:30:20.257Z [err] node-pre-gyp ERR!
2021-01-19T11:30:20.258Z [err] command "/usr/bin/node" "/config/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2021-01-19T11:30:20.258Z [err] node-pre-gyp
2021-01-19T11:30:20.258Z [err] ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket
2021-01-19T11:30:20.258Z [err] node-pre-gyp
2021-01-19T11:30:20.258Z [err] ERR! node -v
2021-01-19T11:30:20.259Z [err] v12.18.4
2021-01-19T11:30:20.259Z [err] node-pre-gyp
2021-01-19T11:30:20.259Z [err] ERR! node-pre-gyp -v v0.15.0
2021-01-19T11:30:20.263Z [err] node-pre-gyp ERR! not ok
2021-01-19T11:30:20.264Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
2021-01-19T11:30:20.289Z [out]
2021-01-19T11:30:20.289Z [out] > @abandonware/noble@1.9.2-10 install /config/node-red/node_modules/@abandonware/noble
2021-01-19T11:30:20.289Z [out] > node-gyp rebuild
2021-01-19T11:30:20.289Z [out]
2021-01-19T11:30:22.101Z [err] gyp
2021-01-19T11:30:22.102Z [err]
2021-01-19T11:30:13.060Z [err] info begin Prebuild-install version 5.3.6 2021-01-19T11:30:13.075Z [err] prebuild-install 2021-01-19T11:30:13.075Z [err] info looking for cached prebuild @ 2021-01-19T11:30:13.075Z [err] /root/.npm/_prebuilds/37f3e2-usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz 2021-01-19T11:30:13.077Z [err] prebuild-install 2021-01-19T11:30:13.077Z [err] http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz 2021-01-19T11:30:13.571Z [err] prebuild-install 2021-01-19T11:30:13.572Z [err] http 404 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz 2021-01-19T11:30:13.586Z [err] prebuild-install 2021-01-19T11:30:13.586Z [err] WARN install No prebuilt binaries found (target=12.18.4 runtime=node arch=arm64 libc=musl platform=linux) 2021-01-19T11:30:15.647Z [err] gyp 2021-01-19T11:30:15.649Z [err]
2021-01-19T11:30:15.649Z [err] ERR! 2021-01-19T11:30:15.650Z [err]
2021-01-19T11:30:15.650Z [err] build error 2021-01-19T11:30:15.650Z [err]
2021-01-19T11:30:15.652Z [err] gyp 2021-01-19T11:30:15.653Z [err]
2021-01-19T11:30:15.653Z [err] ERR! 2021-01-19T11:30:15.653Z [err]
2021-01-19T11:30:15.654Z [err] stack 2021-01-19T11:30:15.654Z [err] Error: not found: make 2021-01-19T11:30:15.654Z [err] gyp 2021-01-19T11:30:15.655Z [err]
2021-01-19T11:30:15.655Z [err] ERR! 2021-01-19T11:30:15.655Z [err]
2021-01-19T11:30:15.656Z [err] stack 2021-01-19T11:30:15.656Z [err] at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2021-01-19T11:30:15.656Z [err] gyp 2021-01-19T11:30:15.656Z [err]
2021-01-19T11:30:15.657Z [err] ERR! 2021-01-19T11:30:15.657Z [err]
2021-01-19T11:30:15.657Z [err] stack 2021-01-19T11:30:15.658Z [err] at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2021-01-19T11:30:15.658Z [err] gyp 2021-01-19T11:30:15.658Z [err]
2021-01-19T11:30:15.658Z [err] ERR! 2021-01-19T11:30:15.659Z [err]
2021-01-19T11:30:15.659Z [err] stack 2021-01-19T11:30:15.659Z [err] at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2021-01-19T11:30:15.659Z [err] gyp 2021-01-19T11:30:15.660Z [err]
2021-01-19T11:30:15.660Z [err] ERR! 2021-01-19T11:30:15.660Z [err]
2021-01-19T11:30:15.661Z [err] stack 2021-01-19T11:30:15.661Z [err] at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2021-01-19T11:30:15.661Z [err] gyp 2021-01-19T11:30:15.661Z [err]
2021-01-19T11:30:15.662Z [err] ERR! 2021-01-19T11:30:15.662Z [err]
2021-01-19T11:30:15.662Z [err] stack 2021-01-19T11:30:15.662Z [err] at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2021-01-19T11:30:15.663Z [err] gyp 2021-01-19T11:30:15.663Z [err]
2021-01-19T11:30:15.664Z [err] ERR! 2021-01-19T11:30:15.664Z [err]
2021-01-19T11:30:15.664Z [err] stack 2021-01-19T11:30:15.664Z [err] at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2021-01-19T11:30:15.665Z [err] gyp 2021-01-19T11:30:15.665Z [err]
2021-01-19T11:30:15.665Z [err] ERR! 2021-01-19T11:30:15.666Z [err]
2021-01-19T11:30:15.666Z [err] stack 2021-01-19T11:30:15.669Z [err] at FSReqCallback.oncomplete (fs.js:168:21) 2021-01-19T11:30:15.669Z [err] gyp ERR! System Linux 5.4.79-v8 2021-01-19T11:30:15.669Z [err] gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2021-01-19T11:30:15.669Z [err] gyp ERR! cwd /config/node-red/node_modules/usb 2021-01-19T11:30:15.669Z [err] gyp ERR! node -v v12.18.4 2021-01-19T11:30:15.669Z [err] gyp ERR! node-gyp -v v5.1.0 2021-01-19T11:30:15.669Z [err] gyp ERR! not ok 2021-01-19T11:30:15.709Z [out] 2021-01-19T11:30:15.709Z [out] > @abandonware/bluetooth-hci-socket@0.5.3-6 install /config/node-red/node_modules/@abandonware/bluetooth-hci-socket 2021-01-19T11:30:15.709Z [out] > node-pre-gyp install --fallback-to-build 2021-01-19T11:30:15.709Z [out] 2021-01-19T11:30:16.772Z [err] node-pre-gyp 2021-01-19T11:30:16.774Z [err]
2021-01-19T11:30:16.774Z [err] WARN Using request for node-pre-gyp https download 2021-01-19T11:30:17.273Z [err] node-pre-gyp 2021-01-19T11:30:17.273Z [err] WARN 2021-01-19T11:30:17.273Z [err] Tried to download(404): https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-6/bluetooth_hci_socket-0.5.3-6-node-v72-linux-arm64.tar.gz 2021-01-19T11:30:17.273Z [err] node-pre-gyp WARN 2021-01-19T11:30:17.274Z [err] Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-6 and node@12.18.4 (node-v72 ABI, musl) (falling back to source compile with node-gyp) 2021-01-19T11:30:17.274Z [err]
2021-01-19T11:30:20.237Z [err] gyp 2021-01-19T11:30:20.239Z [err]
2021-01-19T11:30:20.239Z [err] ERR! build error 2021-01-19T11:30:20.241Z [err] gyp 2021-01-19T11:30:20.241Z [err] ERR! 2021-01-19T11:30:20.241Z [err] stack Error: not found: make 2021-01-19T11:30:20.241Z [err] gyp 2021-01-19T11:30:20.241Z [err] ERR! stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2021-01-19T11:30:20.242Z [err] gyp ERR! 2021-01-19T11:30:20.242Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2021-01-19T11:30:20.242Z [err] gyp 2021-01-19T11:30:20.242Z [err] ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2021-01-19T11:30:20.242Z [err] gyp 2021-01-19T11:30:20.242Z [err] ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2021-01-19T11:30:20.242Z [err] gyp 2021-01-19T11:30:20.242Z [err] ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2021-01-19T11:30:20.242Z [err] gyp ERR! 2021-01-19T11:30:20.243Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2021-01-19T11:30:20.243Z [err] gyp ERR! 2021-01-19T11:30:20.243Z [err] stack at FSReqCallback.oncomplete (fs.js:168:21) 2021-01-19T11:30:20.244Z [err] gyp 2021-01-19T11:30:20.244Z [err] ERR! System Linux 5.4.79-v8 2021-01-19T11:30:20.244Z [err] gyp ERR! command 2021-01-19T11:30:20.244Z [err] "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node" "--module_name=bluetooth_hci_socket" "--module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" 2021-01-19T11:30:20.244Z [err] gyp ERR! 2021-01-19T11:30:20.244Z [err] cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket 2021-01-19T11:30:20.244Z [err] gyp 2021-01-19T11:30:20.245Z [err] ERR! node -v v12.18.4 2021-01-19T11:30:20.245Z [err] gyp ERR! node-gyp -v v5.1.0 2021-01-19T11:30:20.245Z [err] gyp ERR! not ok 2021-01-19T11:30:20.252Z [err] node-pre-gyp 2021-01-19T11:30:20.253Z [err] ERR! build error 2021-01-19T11:30:20.253Z [err]
2021-01-19T11:30:20.255Z [err] node-pre-gyp 2021-01-19T11:30:20.255Z [err] 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=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) 2021-01-19T11:30:20.255Z [err] node-pre-gyp ERR! stack at ChildProcess.
2021-01-19T11:30:22.102Z [err] ERR! build error 2021-01-19T11:30:22.102Z [err]
2021-01-19T11:30:22.104Z [err] gyp 2021-01-19T11:30:22.104Z [err] ERR! 2021-01-19T11:30:22.104Z [err] stack Error: not found: make 2021-01-19T11:30:22.104Z [err] gyp 2021-01-19T11:30:22.104Z [err] ERR! stack 2021-01-19T11:30:22.104Z [err] at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2021-01-19T11:30:22.104Z [err] gyp 2021-01-19T11:30:22.105Z [err] ERR! stack 2021-01-19T11:30:22.105Z [err] at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2021-01-19T11:30:22.105Z [err] gyp 2021-01-19T11:30:22.105Z [err] ERR! stack 2021-01-19T11:30:22.105Z [err] at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2021-01-19T11:30:22.105Z [err] gyp ERR! 2021-01-19T11:30:22.105Z [err] stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2021-01-19T11:30:22.105Z [err] gyp 2021-01-19T11:30:22.105Z [err] ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2021-01-19T11:30:22.106Z [err] gyp ERR! 2021-01-19T11:30:22.106Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2021-01-19T11:30:22.106Z [err] gyp ERR! 2021-01-19T11:30:22.106Z [err] stack at FSReqCallback.oncomplete (fs.js:168:21) 2021-01-19T11:30:22.106Z [err] gyp 2021-01-19T11:30:22.107Z [err] ERR! System Linux 5.4.79-v8 2021-01-19T11:30:22.107Z [err] gyp ERR! 2021-01-19T11:30:22.107Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2021-01-19T11:30:22.107Z [err] gyp 2021-01-19T11:30:22.107Z [err] ERR! cwd /config/node-red/node_modules/@abandonware/noble 2021-01-19T11:30:22.107Z [err] gyp ERR! node -v 2021-01-19T11:30:22.107Z [err] v12.18.4 2021-01-19T11:30:22.107Z [err] gyp ERR! 2021-01-19T11:30:22.108Z [err] node-gyp -v v5.1.0 2021-01-19T11:30:22.108Z [err] gyp 2021-01-19T11:30:22.108Z [err] ERR! not ok 2021-01-19T11:30:23.153Z [err] npm 2021-01-19T11:30:23.153Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 (node_modules/usb): 2021-01-19T11:30:23.153Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 install:
prebuild-install --verbose || node-gyp rebuild
2021-01-19T11:30:23.153Z [err] npm 2021-01-19T11:30:23.153Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2021-01-19T11:30:23.160Z [err] npm 2021-01-19T11:30:23.161Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-6 (node_modules/@abandonware/bluetooth-hci-socket): 2021-01-19T11:30:23.161Z [err] npm WARN 2021-01-19T11:30:23.161Z [err] optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-6 install:node-pre-gyp install --fallback-to-build
2021-01-19T11:30:23.161Z [err] npm WARN 2021-01-19T11:30:23.161Z [err] optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2021-01-19T11:30:23.162Z [err] 2021-01-19T11:30:23.187Z [err] npm 2021-01-19T11:30:23.188Z [err] ERR! code ELIFECYCLE 2021-01-19T11:30:23.188Z [err] npm 2021-01-19T11:30:23.188Z [err] ERR! errno 1 2021-01-19T11:30:23.197Z [err] npm 2021-01-19T11:30:23.197Z [err] ERR! @abandonware/noble@1.9.2-10 install:node-gyp rebuild
2021-01-19T11:30:23.197Z [err] npm ERR! Exit status 1 2021-01-19T11:30:23.198Z [err] npm ERR! 2021-01-19T11:30:23.198Z [err] npm 2021-01-19T11:30:23.198Z [err] ERR! Failed at the @abandonware/noble@1.9.2-10 install script. 2021-01-19T11:30:23.198Z [err] npm ERR! 2021-01-19T11:30:23.198Z [err] This is probably not a problem with npm. There is likely additional logging output above. 2021-01-19T11:30:23.237Z [err] 2021-01-19T11:30:23.237Z [err] npm ERR! A complete log of this run can be found in: 2021-01-19T11:30:23.237Z [err] npm ERR! /root/.npm/_logs/2021-01-19T11_30_23_223Z-debug.log 2021-01-19T11:30:23.268Z rc=12021-01-19T11:35:53.730Z Install : node-red-contrib-xiaomi-ble 1.3.1
2021-01-19T11:35:53.779Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-xiaomi-ble@1.3.1 2021-01-19T11:36:09.640Z [out] 2021-01-19T11:36:09.640Z [out] > usb@1.6.3 install /config/node-red/node_modules/usb 2021-01-19T11:36:09.640Z [out] > prebuild-install --verbose || node-gyp rebuild 2021-01-19T11:36:09.640Z [out] 2021-01-19T11:36:10.330Z [err] prebuild-install 2021-01-19T11:36:10.332Z [err] (/config/node-red/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2021-01-19T11:36:17.499Z [err] node-pre-gyp ERR! stack
2021-01-19T11:36:17.499Z [err] at ChildProcess.emit (events.js:315:20)
2021-01-19T11:36:17.499Z [err] node-pre-gyp
2021-01-19T11:36:17.500Z [err] ERR! stack at maybeClose (internal/child_process.js:1021:16)
2021-01-19T11:36:17.500Z [err] node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
2021-01-19T11:36:17.501Z [err] node-pre-gyp
2021-01-19T11:36:17.501Z [err] ERR! System Linux 5.4.79-v8
2021-01-19T11:36:17.501Z [err] node-pre-gyp ERR!
2021-01-19T11:36:17.501Z [err] command "/usr/bin/node" "/config/node-red/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2021-01-19T11:36:17.502Z [err] node-pre-gyp ERR! cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket
2021-01-19T11:36:17.502Z [err] node-pre-gyp ERR!
2021-01-19T11:36:17.502Z [err] node -v v12.18.4
2021-01-19T11:36:17.502Z [err] node-pre-gyp ERR!
2021-01-19T11:36:17.503Z [err] node-pre-gyp -v v0.15.0
2021-01-19T11:36:17.503Z [err] node-pre-gyp ERR! not ok
2021-01-19T11:36:17.503Z [err]
2021-01-19T11:36:10.333Z [err] info 2021-01-19T11:36:10.333Z [err]
2021-01-19T11:36:10.334Z [err] begin 2021-01-19T11:36:10.334Z [err] Prebuild-install version 5.3.6 2021-01-19T11:36:10.349Z [err] prebuild-install 2021-01-19T11:36:10.349Z [err]
2021-01-19T11:36:10.350Z [err] info 2021-01-19T11:36:10.350Z [err]
2021-01-19T11:36:10.350Z [err] looking for cached prebuild @ 2021-01-19T11:36:10.351Z [err] /root/.npm/_prebuilds/37f3e2-usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz 2021-01-19T11:36:10.352Z [err] prebuild-install 2021-01-19T11:36:10.353Z [err]
2021-01-19T11:36:10.353Z [err] http 2021-01-19T11:36:10.353Z [err]
2021-01-19T11:36:10.354Z [err] request 2021-01-19T11:36:10.354Z [err] GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz 2021-01-19T11:36:10.859Z [err] prebuild-install 2021-01-19T11:36:10.860Z [err] http 404 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linuxmusl-arm64.tar.gz 2021-01-19T11:36:10.874Z [err] prebuild-install 2021-01-19T11:36:10.874Z [err] WARN install No prebuilt binaries found (target=12.18.4 runtime=node arch=arm64 libc=musl platform=linux) 2021-01-19T11:36:12.914Z [err] gyp 2021-01-19T11:36:12.914Z [err]
2021-01-19T11:36:12.915Z [err] ERR! build error 2021-01-19T11:36:12.916Z [err] gyp 2021-01-19T11:36:12.916Z [err] ERR! 2021-01-19T11:36:12.916Z [err] stack Error: not found: make 2021-01-19T11:36:12.916Z [err] gyp 2021-01-19T11:36:12.917Z [err] ERR! 2021-01-19T11:36:12.917Z [err] stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2021-01-19T11:36:12.917Z [err] gyp 2021-01-19T11:36:12.917Z [err] ERR! 2021-01-19T11:36:12.917Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2021-01-19T11:36:12.917Z [err] gyp ERR! stack 2021-01-19T11:36:12.918Z [err] at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2021-01-19T11:36:12.918Z [err] gyp ERR! 2021-01-19T11:36:12.918Z [err] stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2021-01-19T11:36:12.918Z [err] gyp 2021-01-19T11:36:12.918Z [err] ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2021-01-19T11:36:12.918Z [err] gyp ERR! 2021-01-19T11:36:12.918Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2021-01-19T11:36:12.918Z [err] gyp 2021-01-19T11:36:12.918Z [err] ERR! stack at FSReqCallback.oncomplete (fs.js:168:21) 2021-01-19T11:36:12.919Z [err] gyp 2021-01-19T11:36:12.919Z [err] ERR! System Linux 5.4.79-v8 2021-01-19T11:36:12.919Z [err] gyp ERR! 2021-01-19T11:36:12.919Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2021-01-19T11:36:12.919Z [err] gyp 2021-01-19T11:36:12.920Z [err] ERR! cwd /config/node-red/node_modules/usb 2021-01-19T11:36:12.920Z [err] gyp ERR! node -v 2021-01-19T11:36:12.920Z [err] v12.18.4 2021-01-19T11:36:12.920Z [err] gyp 2021-01-19T11:36:12.920Z [err] ERR! node-gyp -v v5.1.0 2021-01-19T11:36:12.920Z [err] gyp 2021-01-19T11:36:12.920Z [err] ERR! not ok 2021-01-19T11:36:12.953Z [out] 2021-01-19T11:36:12.953Z [out] > @abandonware/bluetooth-hci-socket@0.5.3-6 install /config/node-red/node_modules/@abandonware/bluetooth-hci-socket 2021-01-19T11:36:12.953Z [out] > node-pre-gyp install --fallback-to-build 2021-01-19T11:36:12.953Z [out] 2021-01-19T11:36:14.001Z [err] node-pre-gyp 2021-01-19T11:36:14.006Z [err]
2021-01-19T11:36:14.006Z [err] WARN 2021-01-19T11:36:14.006Z [err] Using request for node-pre-gyp https download 2021-01-19T11:36:14.484Z [err] node-pre-gyp 2021-01-19T11:36:14.484Z [err]
2021-01-19T11:36:14.484Z [err] WARN Tried to download(404): https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-6/bluetooth_hci_socket-0.5.3-6-node-v72-linux-arm64.tar.gz 2021-01-19T11:36:14.484Z [err]
2021-01-19T11:36:14.485Z [err] node-pre-gyp WARN 2021-01-19T11:36:14.485Z [err] Pre-built binaries not found for @abandonware/bluetooth-hci-socket@0.5.3-6 and node@12.18.4 (node-v72 ABI, musl) (falling back to source compile with node-gyp) 2021-01-19T11:36:17.474Z [err] gyp 2021-01-19T11:36:17.476Z [err]
2021-01-19T11:36:17.477Z [err] ERR! 2021-01-19T11:36:17.477Z [err]
2021-01-19T11:36:17.477Z [err] build error 2021-01-19T11:36:17.477Z [err]
2021-01-19T11:36:17.480Z [err] gyp 2021-01-19T11:36:17.480Z [err]
2021-01-19T11:36:17.481Z [err] ERR! 2021-01-19T11:36:17.481Z [err]
2021-01-19T11:36:17.481Z [err] stack 2021-01-19T11:36:17.481Z [err] Error: not found: make 2021-01-19T11:36:17.482Z [err] gyp 2021-01-19T11:36:17.482Z [err]
2021-01-19T11:36:17.482Z [err] ERR! 2021-01-19T11:36:17.482Z [err]
2021-01-19T11:36:17.483Z [err] stack 2021-01-19T11:36:17.483Z [err] at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2021-01-19T11:36:17.483Z [err] gyp 2021-01-19T11:36:17.484Z [err]
2021-01-19T11:36:17.484Z [err] ERR! 2021-01-19T11:36:17.484Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2021-01-19T11:36:17.484Z [err] gyp ERR! 2021-01-19T11:36:17.484Z [err] stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2021-01-19T11:36:17.484Z [err] gyp 2021-01-19T11:36:17.485Z [err] ERR! stack 2021-01-19T11:36:17.485Z [err] at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2021-01-19T11:36:17.485Z [err] gyp ERR! 2021-01-19T11:36:17.485Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2021-01-19T11:36:17.485Z [err] gyp 2021-01-19T11:36:17.485Z [err] ERR! 2021-01-19T11:36:17.485Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2021-01-19T11:36:17.485Z [err] gyp ERR! 2021-01-19T11:36:17.485Z [err] stack at FSReqCallback.oncomplete (fs.js:168:21) 2021-01-19T11:36:17.486Z [err] gyp 2021-01-19T11:36:17.486Z [err] ERR! System Linux 5.4.79-v8 2021-01-19T11:36:17.486Z [err] gyp 2021-01-19T11:36:17.486Z [err] ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node" "--module_name=bluetooth_hci_socket" "--module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" 2021-01-19T11:36:17.487Z [err] gyp ERR! 2021-01-19T11:36:17.487Z [err] cwd /config/node-red/node_modules/@abandonware/bluetooth-hci-socket 2021-01-19T11:36:17.487Z [err] gyp 2021-01-19T11:36:17.487Z [err] ERR! node -v 2021-01-19T11:36:17.487Z [err] v12.18.4 2021-01-19T11:36:17.487Z [err] gyp ERR! 2021-01-19T11:36:17.487Z [err] node-gyp -v v5.1.0 2021-01-19T11:36:17.487Z [err] gyp 2021-01-19T11:36:17.487Z [err] ERR! not ok 2021-01-19T11:36:17.496Z [err] node-pre-gyp 2021-01-19T11:36:17.497Z [err] ERR! 2021-01-19T11:36:17.497Z [err] build error 2021-01-19T11:36:17.499Z [err] node-pre-gyp ERR! 2021-01-19T11:36:17.499Z [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=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) 2021-01-19T11:36:17.499Z [err] node-pre-gyp ERR! stack 2021-01-19T11:36:17.499Z [err] at ChildProcess.
2021-01-19T11:36:17.504Z [out] Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/bluetooth_hci_socket.node --module_name=bluetooth_hci_socket --module_path=/config/node-red/node_modules/@abandonware/bluetooth-hci-socket/lib/binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) 2021-01-19T11:36:17.536Z [out] 2021-01-19T11:36:17.536Z [out] > @abandonware/noble@1.9.2-10 install /config/node-red/node_modules/@abandonware/noble 2021-01-19T11:36:17.536Z [out] > node-gyp rebuild 2021-01-19T11:36:17.536Z [out] 2021-01-19T11:36:19.332Z [err] gyp 2021-01-19T11:36:19.333Z [err]
2021-01-19T11:36:19.333Z [err] ERR! build error 2021-01-19T11:36:19.335Z [err] gyp 2021-01-19T11:36:19.335Z [err] ERR! 2021-01-19T11:36:19.335Z [err] stack Error: not found: make 2021-01-19T11:36:19.335Z [err] gyp ERR! 2021-01-19T11:36:19.335Z [err] stack at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:13:12) 2021-01-19T11:36:19.335Z [err] gyp 2021-01-19T11:36:19.335Z [err] ERR! 2021-01-19T11:36:19.336Z [err] stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:68:19) 2021-01-19T11:36:19.336Z [err] gyp ERR! 2021-01-19T11:36:19.336Z [err] stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:80:29) 2021-01-19T11:36:19.336Z [err] gyp ERR! 2021-01-19T11:36:19.336Z [err] stack at /usr/lib/node_modules/npm/node_modules/which/which.js:89:16 2021-01-19T11:36:19.336Z [err] gyp 2021-01-19T11:36:19.336Z [err] ERR! stack at /usr/lib/node_modules/npm/node_modules/isexe/index.js:42:5 2021-01-19T11:36:19.336Z [err] gyp ERR! 2021-01-19T11:36:19.337Z [err] stack at /usr/lib/node_modules/npm/node_modules/isexe/mode.js:8:5 2021-01-19T11:36:19.337Z [err] gyp 2021-01-19T11:36:19.337Z [err] ERR! stack at FSReqCallback.oncomplete (fs.js:168:21) 2021-01-19T11:36:19.338Z [err] gyp 2021-01-19T11:36:19.338Z [err] ERR! System Linux 5.4.79-v8 2021-01-19T11:36:19.338Z [err] gyp ERR! 2021-01-19T11:36:19.338Z [err] command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2021-01-19T11:36:19.338Z [err] gyp 2021-01-19T11:36:19.338Z [err] ERR! cwd /config/node-red/node_modules/@abandonware/noble 2021-01-19T11:36:19.338Z [err] gyp ERR! node -v 2021-01-19T11:36:19.339Z [err] v12.18.4 2021-01-19T11:36:19.339Z [err] gyp 2021-01-19T11:36:19.339Z [err] ERR! node-gyp -v v5.1.0 2021-01-19T11:36:19.339Z [err] gyp ERR! not ok 2021-01-19T11:36:20.298Z [err] npm 2021-01-19T11:36:20.298Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 (node_modules/usb): 2021-01-19T11:36:20.298Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.6.3 install:
prebuild-install --verbose || node-gyp rebuild
2021-01-19T11:36:20.298Z [err] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2021-01-19T11:36:20.305Z [err] npm 2021-01-19T11:36:20.305Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-6 (node_modules/@abandonware/bluetooth-hci-socket): 2021-01-19T11:36:20.305Z [err] npm WARN 2021-01-19T11:36:20.305Z [err] optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-6 install:node-pre-gyp install --fallback-to-build
2021-01-19T11:36:20.305Z [err] npm 2021-01-19T11:36:20.305Z [err] WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2021-01-19T11:36:20.307Z [err] 2021-01-19T11:36:20.331Z [err] npm 2021-01-19T11:36:20.332Z [err] ERR! code ELIFECYCLE 2021-01-19T11:36:20.332Z [err] npm ERR! errno 2021-01-19T11:36:20.332Z [err] 1 2021-01-19T11:36:20.341Z [err] npm 2021-01-19T11:36:20.341Z [err] ERR! @abandonware/noble@1.9.2-10 install:node-gyp rebuild
2021-01-19T11:36:20.341Z [err] npm ERR! Exit status 1 2021-01-19T11:36:20.341Z [err] npm 2021-01-19T11:36:20.341Z [err] ERR! 2021-01-19T11:36:20.341Z [err] npm ERR! 2021-01-19T11:36:20.341Z [err] Failed at the @abandonware/noble@1.9.2-10 install script. 2021-01-19T11:36:20.341Z [err] npm ERR! 2021-01-19T11:36:20.342Z [err] This is probably not a problem with npm. There is likely additional logging output above. 2021-01-19T11:36:20.378Z [err] 2021-01-19T11:36:20.378Z [err] npm ERR! A complete log of this run can be found in: 2021-01-19T11:36:20.378Z [err] npm ERR! 2021-01-19T11:36:20.378Z [err] /root/.npm/_logs/2021-01-19T11_36_20_365Z-debug.log 2021-01-19T11:36:20.406Z rc=1