NEWS
Fehlermeldungen bei Adapter Update
-
Hallo zusammen,
ich bekomme in der letzten Zeit immer Fehlermeldungen beim installieren oder updaten von Adaptern.
Kann jemand von euch mir sagen, was das genaue Problem ist und wie ich es beseitigen kann? Am Ende funktioniert die Installation dann übrigens doch.
$ ./iobroker upgrade ical Update ical from @1.3.2 to @1.4.0 npm install iobroker.ical@1.4.0 --production --prefix "/opt/iobroker" (System call) node-pre-gyp ERR! Tried to download(404): https://github.com/tessel/node-usb/releases/download/1.3.1/usb_bindings-v1.3.1-node-v48-linux-arm.tar.gz node-pre-gyp ERR! Pre-built binaries not found for usb@1.3.1 and node@6.12.2 (node-v48 ABI) (falling back to source compile with node-gyp) ../libusb/libusb/os/linux_udev.c:40:21: fatal error: libudev.h: Datei oder Verzeichnis nicht gefunden #include <libudev.h>^ compilation terminated.make: *** [Release/obj.target/libusb/libusb/libusb/os/linux_udev.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)gyp ERR! stack at emitTwo (events.js:106:13)gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) gyp ERR! System Linux 4.9.59-v7+gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding"gyp ERR! cwd /opt/iobroker/node_modules/usbgyp ERR! node -v v6.12.2 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at emitTwo (events.js:106:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)node-pre-gyp ERR! System Linux 4.9.59-v7+node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb node-pre-gyp ERR! node -v v6.12.2node-pre-gyp ERR! node-pre-gyp -v v0.6.32 node-pre-gyp ERR! not ok</anonymous></libudev.h>
-
Ist ein Linux Spezialist da?
-
welche node und NPM version hast du drauf ?
node -v npm -v
-
node v6.12.2 und NPM 3.10.10
-
node v6.12.2 und NPM 3.10.10 `
ok, habe de adapter auch geupdated gerade die gyp error kan man verwarlosen hatte ich auch laeuft aber durch.
Steht bei dir am ende:
got /opt/iobroker/node_modules/iobroker.ical/admin upload [2] ical.admin /opt/iobroker/node_modules/iobroker.ical/admin/words.js words.js application/javascript Update "system.adapter.ical.0" upload [1] ical.admin /opt/iobroker/node_modules/iobroker.ical/admin/index.html index.html text/html upload [0] ical.admin /opt/iobroker/node_modules/iobroker.ical/admin/ical.png ical.png image/png Adapter "ical" updated
dan ist alles ok