mmh ich hab mich jetzt schon tierisch gefreut das es endlich ein Plugin für die Dinger gibt, leider kommt bei mir bei der Installations allerdings folgender Fehler:
> prebuild-install --verbose || node-gyp rebuild
26.5.2020, 12:28:27 prebuild-install
26.5.2020, 12:28:27 26.5.2020, 12:28:27 info begin Prebuild-install version 5.3.4
26.5.2020, 12:28:27 info looking for cached prebuild @ /home/hoobs/.npm/_prebuilds/470134-usb-v1.6.3-node-v72-linux-arm.tar.gz
26.5.2020, 12:28:27 prebuild-install
26.5.2020, 12:28:27 http request GET https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-arm.tar.gz
26.5.2020, 12:28:27 prebuild-install26.5.2020, 12:28:27 http 404 https://github.com/tessel/node-usb/releases/download/v1.6.3/usb-v1.6.3-node-v72-linux-arm.tar.gz
26.5.2020, 12:28:27 prebuild-install26.5.2020, 12:28:27 WARN install No prebuilt binaries found (target=12.16.2 runtime=node arch=arm libc= platform=linux)
26.5.2020, 12:28:29 make: Entering directory '/home/hoobs/.hoobs/node_modules/usb/build'
26.5.2020, 12:28:29 CC(target) Release/obj.target/libusb/libusb/libusb/core.o
26.5.2020, 12:28:30 CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o
26.5.2020, 12:28:31 CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o26.5.2020, 12:28:31 CC(target) Release/obj.target/libusb/libusb/libusb/io.o
26.5.2020, 12:28:32 CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o
26.5.2020, 12:28:32 CC(target) Release/obj.target/libusb/libusb/libusb/sync.o
26.5.2020, 12:28:32 CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o
26.5.2020, 12:28:33 CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o
26.5.2020, 12:28:33 CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o
26.5.2020, 12:28:34 CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o
26.5.2020, 12:28:35 ../libusb/libusb/os/linux_udev.c:40:10: fatal error: libudev.h: No such file or directory
#include <libudev.h>
^~~~~~~~~~~
compilation terminated.
26.5.2020, 12:28:35 make: *** [libusb.target.mk:148: Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Error 1
26.5.2020, 12:28:35 make: Leaving directory '/home/hoobs/.hoobs/node_modules/usb/build'
26.5.2020, 12:28:35 gyp26.5.2020, 12:28:35 26.5.2020, 12:28:35 ERR! build error
26.5.2020, 12:28:35 gyp26.5.2020, 12:28:35 ERR! stack Error: `make` failed with exit code: 2
gyp ERR!
26.5.2020, 12:28:35 stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR!
26.5.2020, 12:28:35 stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)26.5.2020, 12:28:35 gyp ERR! System Linux 4.19.97-v7l+
gyp
26.5.2020, 12:28:35 ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/hoobs/.hoobs/node_modules/usb
gyp ERR! node -v
26.5.2020, 12:28:35 v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
26.5.2020, 12:28:35
> @abandonware/[email protected] install /home/hoobs/.hoobs/node_modules/@abandonware/bluetooth-hci-socket
> node-pre-gyp install --fallback-to-build
26.5.2020, 12:28:35 node-pre-gyp26.5.2020, 12:28:35
26.5.2020, 12:28:35 WARN Using request for node-pre-gyp https download
26.5.2020, 12:28:36 node-pre-gyp
26.5.2020, 12:28:36 WARN Tried to download(404): https://github.com/abandonware/node-bluetooth-hci-socket/releases/download/0.5.3-5/binding-0.5.3-5-node-v72-linux-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for @abandonware/[email protected] and [email protected] (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
26.5.2020, 12:28:37 make: Entering directory '/home/hoobs/.hoobs/node_modules/@abandonware/bluetooth-hci-socket/build'
26.5.2020, 12:28:37 CXX(target) Release/obj.target/binding/src/BluetoothHciSocket.o
26.5.2020, 12:28:39 In file included from ../src/BluetoothHciSocket.cpp:8:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
26.5.2020, 12:28:39 In file included from /home/hoobs/.cache/node-gyp/12.16.2/include/node/node_buffer.h:25,
from ../src/BluetoothHciSocket.cpp:7: ../src/BluetoothHciSocket.cpp: At global scope:
/home/hoobs/.cache/node-gyp/12.16.2/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/hoobs/.cache/node-gyp/12.16.2/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/BluetoothHciSocket.cpp:578:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(binding, BluetoothHciSocket::Init);
^~~~~~~~~~~
26.5.2020, 12:28:41 SOLINK_MODULE(target) Release/obj.target/binding.node
26.5.2020, 12:28:42 COPY Release/binding.node
26.5.2020, 12:28:42 COPY /home/hoobs/.hoobs/node_modules/@abandonware/bluetooth-hci-socket/lib/binding/binding.node
26.5.2020, 12:28:42 TOUCH Release/obj.target/action_after_build.stamp
26.5.2020, 12:28:42 make: Leaving directory '/home/hoobs/.hoobs/node_modules/@abandonware/bluetooth-hci-socket/build'
26.5.2020, 12:28:42
> @abandonware/[email protected] install /home/hoobs/.hoobs/node_modules/@abandonware/noble
> node-gyp rebuild
26.5.2020, 12:28:43 make: Entering directory '/home/hoobs/.hoobs/node_modules/@abandonware/noble/build'
26.5.2020, 12:28:43 SOLINK_MODULE(target) Release/obj.target/noble.node
26.5.2020, 12:28:43 COPY Release/noble.node
26.5.2020, 12:28:43 make: Leaving directory '/home/hoobs/.hoobs/node_modules/@abandonware/noble/build'
26.5.2020, 12:28:44 npm
26.5.2020, 12:28:44
26.5.2020, 12:28:44 WARN
26.5.2020, 12:28:44
26.5.2020, 12:28:44 optional
26.5.2020, 12:28:44 SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/usb):
26.5.2020, 12:28:44 npm
26.5.2020, 12:28:44
26.5.2020, 12:28:44 WARN
26.5.2020, 12:28:44
26.5.2020, 12:28:44 optional
26.5.2020, 12:28:44 SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `prebuild-install --verbose || node-gyp rebuild`
26.5.2020, 12:28:44 npm
26.5.2020, 12:28:44
26.5.2020, 12:28:44 WARN
26.5.2020, 12:28:44
26.5.2020, 12:28:44 optional
26.5.2020, 12:28:44 SKIPPING OPTIONAL DEPENDENCY: Exit status 1
26.5.2020, 12:28:44 26.5.2020, 12:28:44 + [email protected]
added 52 packages from 78 contributors in 37.032s
Alles anzeigen
Hat zufällig jemand ähnliche Probleme? Die Sensoren werden aber im HomeKit hinzugefügt.