NEWS
PiFace addon Installationsproblem
-
Bevor du da weiter machst dringend die Repos gerade ziehen. Das trägt nicht gerade zu einem stabilen System bei, wenn das alles nicht zueinander passt.
So, alle Repos gerade gezogen und das System aktualisiert neu gestartet und nochmals die Installation versucht.
Leider geht die Installation von Piface immer noch nicht.
Gibt es eine Möglichkeit, dass sich das mal jemand anschaut, der sich damit auskennt? -
So, alle Repos gerade gezogen und das System aktualisiert neu gestartet und nochmals die Installation versucht.
Leider geht die Installation von Piface immer noch nicht.
Gibt es eine Möglichkeit, dass sich das mal jemand anschaut, der sich damit auskennt?Wird am alten Code des Moduls liegen:
github: 1.0.0 latest: 1.0.0 for 51 months stable: 1.0.0 for 51 monthsBei mir baut das auch nicht, allerdings mit etwas anderen Meldungen:
echad@chet:/opt/iobroker $ iobroker add piface NPM version: 8.3.0 npm install iobroker.piface@1.0.0 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code 1 npm ERR! path /opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! make: Entering directory '/opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital/build' npm ERR! CXX(target) Release/obj.target/pifacedigital/src/cpp/init.o npm ERR! make: Leaving directory '/opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital/build' npm ERR! (node:2953) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! In file included from ../src/cpp/init.cc:2: npm ERR! ../src/cpp/NPIFaceDigital.h: In function ‘void AsyncAfter(uv_work_t*, int)’: npm ERR! ../src/cpp/NPIFaceDigital.h:74:52: error: no matching function for call to ‘v8::Function::Call(v8::Local<v8::Primitive>, const unsigned int&, v8::Local<v8::Value> [0])’ npm ERR! 74 | info->callback->Call(Null(info->isolate),argc,argv); npm ERR! | ^ npm ERR! In file included from /home/iobroker/.node-gyp/17.3.0/include/node/v8.h:34, npm ERR! from /home/iobroker/.node-gyp/17.3.0/include/node/node.h:63, npm ERR! from ../src/cpp/init.cc:1: npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/v8-function.h:54:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’ npm ERR! 54 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context, npm ERR! | ^~~~ npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/v8-function.h:54:43: note: candidate expects 4 arguments, 3 provided npm ERR! In file included from ../src/cpp/init.cc:1: npm ERR! ../src/cpp/init.cc: At global scope: npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/node.h:843:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type] npm ERR! 843 | (node::addon_register_func) (regfunc), \ npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ npm ERR! /home/iobroker/.node-gyp/17.3.0/include/node/node.h:877:3: note: in expansion of macro ‘NODE_MODULE_X’ npm ERR! 877 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) npm ERR! | ^~~~~~~~~~~~~ npm ERR! ../src/cpp/init.cc:10:1: note: in expansion of macro ‘NODE_MODULE’ npm ERR! 10 | NODE_MODULE(pifacedigital, Initialize) npm ERR! | ^~~~~~~~~~~ npm ERR! In file included from ../src/cpp/init.cc:2: npm ERR! ../src/cpp/NPIFaceDigital.h:61:13: warning: ‘void AsyncAfter(uv_work_t*, int)’ defined but not used [-Wunused-function] npm ERR! 61 | static void AsyncAfter(uv_work_t *req, int status) npm ERR! | ^~~~~~~~~~ npm ERR! ../src/cpp/NPIFaceDigital.h:34:13: warning: ‘void WaitForAsync(uv_work_t*)’ defined but not used [-Wunused-function] npm ERR! 34 | static void WaitForAsync(uv_work_t *req) npm ERR! | ^~~~~~~~~~~~ npm ERR! make: *** [pifacedigital.target.mk:114: Release/obj.target/pifacedigital/src/cpp/init.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/opt/iobroker/node_modules/iobroker.piface/node_modules/node-gyp/lib/build.js:262:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:390:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System Linux 5.10.63-v8+ npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.piface/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.piface/node_modules/node-pifacedigital npm ERR! gyp ERR! node -v v17.3.0 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2021-12-23T16_57_41_135Z-debug-0.log host.chet Cannot install iobroker.piface@1.0.0: 1Mach ein Issue auf. Wenn das Modul noch gepflegt werden sollte...
Schaut aber ehrlich gesagt nicht so aus.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden