Wenn ich einen Adapter aktualisieren oder einen neuen installiere, bekomme ich eine ganze Menge Fehler. Was kann ich tun,um diese Fehler zu korrigieren?
Spoiler anzeigen
gyp
WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.13.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp"
make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include <security/pam_appl.h>
^
compilation terminated.
authenticate_pam.target.mk:92: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheitertemake: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1gyp ERR! build error
gyp
ERR!
stack
Error: `make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276: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" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
gyp ERR! node -v v6.13.0
gyp ERR!
node-gyp -v
v3.4.0gyp ERR! not ok