NEWS
Amazon Dash Button Instanz will nicht…
-
Welche nodejs Version nutzt du? Hast du die in letzter Zeit aktualisiert nachdem du den Adapter installiert hast?
-
Ich habe iobroker neu auf meinen Bananapi installiert und dann von der v0.12.6 die v6.11.2 geupdatet. Die Amazon Dash Button Instanz wurde erst danach Installiert.
Gruß Volker
-
Hallo Volker
Hast du vor der Installation des Adapters auch libpcap-dev installiert? (apt-get install libpcap-dev)
Gruß, Marwin
-
Hallo,
Das war es leider nicht….. denke hat vielleicht was mit der node Version zu tun.....
__pi@bananapi:~$ sudo apt-get install libpcap-dev
[sudo] password for pi:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libpcap-dev ist schon die neueste Version.__
Gruß Volker
-
Installier den Adapter nochmal. Von github oder so damit er neu. Installiert wird.
-
Ist "node -v" und "nodejs -v" das gleiche?
-
-
Hatten wir nicht schon mal Fälle wo irgendwie zwei Node versionen parallel da waren ?!
-
Ja!
ich hatte schon befürchtest du fragtest das für dich?
Also sollte die Frage an @volker1078 gehen, ob beide Befehle das selbe herausgeben ;-?
Gruß
Rainer
-
Na klar sollte die Frage an volker gehen
-
das kommt bei mir raus:
pi@bananapi:~$ nodejs -v
v6.11.2
pi@bananapi:~$ node -v
v6.11.2
Gruß Volker
-
Dann Versuch wirklich mal Adapter neu installieren vom github. Und dann log schicken bitte
-
UPDATE: Jetzt klappt es doch nachdem ich die Instanz nochmals Installiert habe…..
Gruß Volker
hab ihn versucht von github zu installieren... scheint aber nicht geklappt zu haben. Jedenfalls ist keine Instanz zu sehn.
host.bananapi 2017-09-03 14:28:59.083 info Update repository "default" under "http://download.iobroker.net/sources-dist.json" iobroker 2017-09-03 14:28:58.405 info exit 0 iobroker 2017-09-03 14:28:56.457 info upload [0] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/amazon-dash.png amazon-dash.png image/png iobroker 2017-09-03 14:28:53.742 info upload [1] amazon-dash.admin /opt/iobroker/node_modules/iobroker.amazon-dash/admin/index.html index.html text/html iobroker 2017-09-03 14:28:53.710 info got /opt/iobroker/node_modules/iobroker.amazon-dash/admin iobroker 2017-09-03 14:28:30.830 info ^ iobroker 2017-09-03 14:28:30.830 info info.GetReturnValue().Set(cons->NewInstance()); iobroker 2017-09-03 14:28:30.830 info ../pcap_session.cc: In static member function 'static void PcapSession::New(const Nan::FunctionCallbackInfo&)':../pcap_session.cc:46:49: warning: 'v8::Local v8::Function::NewIn iobroker 2017-09-03 14:27:55.306 info ^ iobroker 2017-09-03 14:27:55.306 info info.GetReturnValue().Set(cons->NewInstance()); iobroker 2017-09-03 14:27:55.306 info ../socket_watcher.cpp: In static member function 'static void SocketWatcher::New(const Nan::FunctionCallbackInfo&)':../socket_watcher.cpp:104:49: warning: 'v8::Local v8::Functi iobroker 2017-09-03 14:27:25.935 info WARN lifecycle iobroker.amazon-dash@0.2.2~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.2 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.am iobroker 2017-09-03 14:27:25.902 info npm iobroker 2017-09-03 14:26:07.408 info npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --prefix "/opt/iobroker" (System call) iobroker 2017-09-03 14:26:06.496 info install https://github.com/PArns/ioBroker.amazon-dash/tarball/master iobroker 2017-09-03 14:26:02.666 info url "https://github.com/PArns/ioBroker.amazon-dash"
-
Bei Github Installs werden Instanzen nicht automatisch angelegt. Musst Du, wie schon festgestellt, manuell machen,
Aber die Installation war nicht ganz vollständig! bei amazon-dash muss die Installation als Root ausgeführt werden!!
-
hi appolon
habe meinen eintrag gelöscht, da gelöst
habe git im admin probiert - nütze nix
habe dann git und gulp installiert
danach über console npm install ….
jetzt läuft es wieder rund
was und warum genau wirkte, weiß ich nicht
-
und natürlich danke für die antwort
-
Hallo,
ich habe auch ein Proble mit dem Adapter für Amazon Dash Button. Ich habe versucht den Adapter normal über den ioBorker Admin zu installieren, leider gab es viele Fehlermeldungen und es hatte keinen Erfolg. Dann habe ich es noch mal über den Button "Katze" (Installieren aus eigener URL) versucht mit dem gleichen Ergebnis.
Zum Schuss habe ich mich über Putty angemeldet und folgende Eingaben gemacht:
iobroker stop
sudo iobroker add amazon-dash
Auch hier die gleichen Fehler. Was ist hier der Fehler, oder was muss ich machen um diesen Adapter zu instllieren?
Habe ich nicht genügend Rechte auf dem Verzeichnis:
info: iobroker user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN
Was muss ich tun um das zu beheben?
Admin Version 3.5.10
Node.js: v6.10.0
NPM: 3.10.10
Log:
2018-11-13 20:02:37.235 - info: iobroker add amazon-dash --host ioBroker-RasPi 2018-11-13 20:02:41.038 - info: iobroker NPM version: 3.10.10 2018-11-13 20:02:42.154 - info: iobroker npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) 2018-11-13 20:03:44.814 - info: iobroker npm 2018-11-13 20:03:44.835 - info: iobroker WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 2018-11-13 20:03:46.682 - info: iobroker gyp 2018-11-13 20:03:46.685 - info: iobroker 2018-11-13 20:03:46.686 - info: iobroker WARN 2018-11-13 20:03:46.689 - info: iobroker EACCES 2018-11-13 20:03:46.690 - info: iobroker user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN 2018-11-13 20:03:46.692 - info: iobroker EACCES 2018-11-13 20:03:46.693 - info: iobroker attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp" 2018-11-13 20:03:55.694 - info: iobroker gyp 2018-11-13 20:03:55.698 - info: iobroker 2018-11-13 20:03:55.699 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp" 2018-11-13 20:03:58.829 - info: iobroker ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include ^ compilation terminated. 2018-11-13 20:04:00.183 - info: iobroker make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 2018-11-13 20:04:00.185 - info: iobroker gyp 2018-11-13 20:04:00.191 - info: iobroker ERR! build error 2018-11-13 20:04:00.200 - info: iobroker gyp 2018-11-13 20:04:00.241 - info: iobroker 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:215:12) gyp ERR! System Linux 4.4.50-v7+ gyp ERR! command "/usr/bin/nodejs" "/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.10.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 2018-11-13 20:04:02.020 - info: iobroker gyp 2018-11-13 20:04:02.023 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp" 2018-11-13 20:04:05.074 - info: iobroker ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include ^ 2018-11-13 20:04:05.130 - info: iobroker compilation terminated. 2018-11-13 20:04:05.223 - info: iobroker make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1 2018-11-13 20:04:05.225 - info: iobroker gyp 2018-11-13 20:04:05.226 - info: iobroker ERR! build error 2018-11-13 20:04:05.233 - info: iobroker gyp 2018-11-13 20:04:05.236 - info: iobroker 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 2018-11-13 20:04:05.269 - info: iobroker 2018-11-13 20:04:05.278 - info: iobroker ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Linux 4.4.50-v7+ gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/pcap gyp ERR! node -v v6.10.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 2018-11-13 20:04:07.960 - info: iobroker npm 2018-11-13 20:04:07.961 - info: iobroker WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam): 2018-11-13 20:04:07.964 - info: iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2018-11-13 20:04:07.975 - info: iobroker npm 2018-11-13 20:04:07.976 - info: iobroker ERR! Linux 4.4.50-v7+ 2018-11-13 20:04:07.979 - info: iobroker npm 2018-11-13 20:04:07.981 - info: iobroker ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker" 2018-11-13 20:04:07.982 - info: iobroker npm 2018-11-13 20:04:07.984 - info: iobroker ERR! node v6.10.0 2018-11-13 20:04:07.985 - info: iobroker npm ERR! npm v3.10.10 2018-11-13 20:04:07.987 - info: iobroker npm ERR! code ELIFECYCLE 2018-11-13 20:04:07.988 - info: iobroker npm ERR! pcap@2.1.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! 2018-11-13 20:04:07.989 - info: iobroker npm ERR! Failed at the pcap@2.1.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pcap package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm 2018-11-13 20:04:07.991 - info: iobroker ERR! node-gyp rebuildnpm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pcap npm ERR! 2018-11-13 20:04:07.992 - info: iobroker There is likely additional logging output above. 2018-11-13 20:04:08.092 - info: iobroker 2018-11-13 20:04:08.095 - info: iobroker npm ERR! Please include the following file with any support request:npm ERR! 2018-11-13 20:04:08.100 - info: iobroker /opt/npm-debug.log 2018-11-13 20:04:08.179 - info: iobroker host.ioBroker-RasPi install adapter amazon-dash 2018-11-13 20:04:10.621 - info: iobroker NPM version: 3.10.10 2018-11-13 20:04:10.623 - info: iobroker npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) 2018-11-13 20:05:11.413 - info: iobroker npm WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 2018-11-13 20:05:13.282 - info: iobroker gyp 2018-11-13 20:05:13.286 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp" 2018-11-13 20:05:21.970 - info: iobroker gyp 2018-11-13 20:05:21.974 - info: iobroker 2018-11-13 20:05:21.975 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp" 2018-11-13 20:05:24.996 - info: iobroker ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include ^ 2018-11-13 20:05:24.998 - info: iobroker compilation terminated. 2018-11-13 20:05:26.281 - info: iobroker make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1gyp ERR! 2018-11-13 20:05:26.292 - info: iobroker build error 2018-11-13 20:05:26.299 - info: iobroker gyp 2018-11-13 20:05:26.304 - info: iobroker 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:215:12) gyp ERR! System Linux 4.4.50-v7+ gyp ERR! command "/usr/bin/nodejs" "/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.10.0 gyp ERR! 2018-11-13 20:05:26.307 - info: iobroker node-gyp -v 2018-11-13 20:05:26.309 - info: iobroker v3.4.0gyp ERR! not ok 2018-11-13 20:05:28.082 - info: iobroker gyp 2018-11-13 20:05:28.087 - info: iobroker 2018-11-13 20:05:28.088 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp" 2018-11-13 20:05:30.806 - info: iobroker ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include ^ 2018-11-13 20:05:30.807 - info: iobroker compilation terminated. 2018-11-13 20:05:30.951 - info: iobroker make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1 2018-11-13 20:05:30.954 - info: iobroker gyp 2018-11-13 20:05:30.956 - info: iobroker ERR! build error 2018-11-13 20:05:30.964 - info: iobroker gyp 2018-11-13 20:05:30.965 - info: iobroker 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:215:12) 2018-11-13 20:05:30.969 - info: iobroker gyp ERR! System Linux 4.4.50-v7+gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/pcap gyp ERR! node -v v6.10.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 2018-11-13 20:05:33.479 - info: iobroker npm 2018-11-13 20:05:33.480 - info: iobroker WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam): 2018-11-13 20:05:33.482 - info: iobroker npm 2018-11-13 20:05:33.483 - info: iobroker WARN 2018-11-13 20:05:33.485 - info: iobroker optional 2018-11-13 20:05:33.486 - info: iobroker SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`npm 2018-11-13 20:05:33.488 - info: iobroker WARN 2018-11-13 20:05:33.489 - info: iobroker optional 2018-11-13 20:05:33.492 - info: iobroker SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2018-11-13 20:05:33.502 - info: iobroker npm 2018-11-13 20:05:33.503 - info: iobroker ERR! 2018-11-13 20:05:33.504 - info: iobroker Linux 4.4.50-v7+ 2018-11-13 20:05:33.506 - info: iobroker npm 2018-11-13 20:05:33.507 - info: iobroker ERR! argv 2018-11-13 20:05:33.509 - info: iobroker "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker"npm 2018-11-13 20:05:33.511 - info: iobroker ERR! 2018-11-13 20:05:33.512 - info: iobroker node 2018-11-13 20:05:33.514 - info: iobroker v6.10.0 2018-11-13 20:05:33.515 - info: iobroker npm 2018-11-13 20:05:33.517 - info: iobroker ERR! 2018-11-13 20:05:33.519 - info: iobroker npm v3.10.10 2018-11-13 20:05:33.520 - info: iobroker npm 2018-11-13 20:05:33.522 - info: iobroker ERR! 2018-11-13 20:05:33.523 - info: iobroker code 2018-11-13 20:05:33.525 - info: iobroker ELIFECYCLE 2018-11-13 20:05:33.526 - info: iobroker npm 2018-11-13 20:05:33.528 - info: iobroker ERR! 2018-11-13 20:05:33.529 - info: iobroker pcap@2.1.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! 2018-11-13 20:05:33.531 - info: iobroker npm 2018-11-13 20:05:33.532 - info: iobroker ERR! Failed at the pcap@2.1.0 install script 'node-gyp rebuild'. 2018-11-13 20:05:33.534 - info: iobroker npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the pcap package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! 2018-11-13 20:05:33.536 - info: iobroker You can get information on how to open an issue for this project with:npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! 2018-11-13 20:05:33.537 - info: iobroker npm owner ls pcap 2018-11-13 20:05:33.540 - info: iobroker npm ERR! 2018-11-13 20:05:33.542 - info: iobroker There is likely additional logging output above. 2018-11-13 20:05:33.655 - info: iobroker 2018-11-13 20:05:33.656 - info: iobroker npm 2018-11-13 20:05:33.657 - info: iobroker ERR! 2018-11-13 20:05:33.659 - info: iobroker Please include the following file with any support request:npm 2018-11-13 20:05:33.660 - info: iobroker ERR! 2018-11-13 20:05:33.663 - info: iobroker /opt/npm-debug.log 2018-11-13 20:05:33.703 - info: iobroker host.ioBroker-RasPi install adapter amazon-dash 2018-11-13 20:05:35.928 - info: iobroker NPM version: 3.10.10 2018-11-13 20:05:35.929 - info: iobroker npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) 2018-11-13 20:06:38.136 - info: iobroker npm 2018-11-13 20:06:38.159 - info: iobroker WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 2018-11-13 20:06:39.942 - info: iobroker gyp 2018-11-13 20:06:39.945 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0" 2018-11-13 20:06:39.946 - info: iobroker gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp" 2018-11-13 20:06:48.607 - info: iobroker gyp 2018-11-13 20:06:48.611 - info: iobroker 2018-11-13 20:06:48.612 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp" 2018-11-13 20:06:51.664 - info: iobroker ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include ^ compilation terminated. 2018-11-13 20:06:52.944 - info: iobroker make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1gyp ERR! build error 2018-11-13 20:06:52.951 - info: iobroker 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:215:12) 2018-11-13 20:06:52.955 - info: iobroker gyp ERR! System Linux 4.4.50-v7+gyp 2018-11-13 20:06:52.956 - info: iobroker ERR! command "/usr/bin/nodejs" "/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.10.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 2018-11-13 20:06:54.712 - info: iobroker gyp 2018-11-13 20:06:54.773 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp" 2018-11-13 20:06:57.512 - info: iobroker ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include ^ compilation terminated. 2018-11-13 20:06:57.657 - info: iobroker make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1 2018-11-13 20:06:57.660 - info: iobroker gyp 2018-11-13 20:06:57.662 - info: iobroker ERR! 2018-11-13 20:06:57.666 - info: iobroker build error 2018-11-13 20:06:57.675 - info: iobroker 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:215:12) 2018-11-13 20:06:57.677 - info: iobroker gyp ERR! System 2018-11-13 20:06:57.680 - info: iobroker Linux 4.4.50-v7+gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/pcap gyp ERR! node -v v6.10.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 2018-11-13 20:07:00.408 - info: iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2018-11-13 20:07:00.418 - info: iobroker npm ERR! Linux 4.4.50-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "/opt/iobroker" npm ERR! node v6.10.0 npm ERR! npm v3.10.10 2018-11-13 20:07:00.424 - info: iobroker npm ERR! code ELIFECYCLE npm ERR! pcap@2.1.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.1.0 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pcap package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pcap npm ERR! There is likely additional logging output above. 2018-11-13 20:07:00.508 - info: iobroker npm ERR! Please include the following file with any support request: npm 2018-11-13 20:07:00.509 - info: iobroker ERR! 2018-11-13 20:07:00.511 - info: iobroker /opt/npm-debug.log 2018-11-13 20:07:00.607 - info: iobroker host.ioBroker-RasPi install adapter amazon-dash 2018-11-13 20:07:00.611 - error: iobroker host.ioBroker-RasPi Cannot install amazon-dash 2018-11-13 20:07:00.639 - info: iobroker exit 13 2018-11-13 20:07:36.725 - info: iobroker url "https://github.com/PArns/ioBroker.amazon-dash/tarball/master" amazon-dash --debug 2018-11-13 20:07:37.962 - info: iobroker install https://github.com/PArns/ioBroker.amazon-dash/tarball/master 2018-11-13 20:07:39.614 - info: iobroker npm install https://github.com/PArns/ioBroker.amazon-dash/tarball/master --production --save --prefix "/opt/iobroker" (System call) 2018-11-13 20:08:43.947 - info: iobroker npm 2018-11-13 20:08:43.950 - info: iobroker WARN lifecycle iobroker.amazon-dash@0.2.9~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.9 apt-get install libpcap-dev -y || true /opt/iobroker/node_modules/.staging/iobroker.amazon-dash-eb5038e9 2018-11-13 20:08:44.003 - info: iobroker > socketwatcher@0.3.0 install /opt/iobroker/node_modules/socketwatcher > node-gyp rebuild 2018-11-13 20:08:45.742 - info: iobroker gyp 2018-11-13 20:08:45.745 - info: iobroker 2018-11-13 20:08:45.746 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/socketwatcher/.node-gyp" 2018-11-13 20:08:48.427 - info: iobroker make: Entering directory '/opt/iobroker/node_modules/socketwatcher/build' 2018-11-13 20:08:48.430 - info: iobroker CXX(target) Release/obj.target/socketwatcher/socket_watcher.o 2018-11-13 20:08:51.832 - info: iobroker SOLINK_MODULE(target) Release/obj.target/socketwatcher.node 2018-11-13 20:08:52.111 - info: iobroker COPY Release/socketwatcher.node 2018-11-13 20:08:52.130 - info: iobroker make: Leaving directory '/opt/iobroker/node_modules/socketwatcher/build' 2018-11-13 20:08:52.352 - info: iobroker > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam > node-gyp rebuild 2018-11-13 20:08:54.111 - info: iobroker gyp 2018-11-13 20:08:54.166 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp" 2018-11-13 20:08:56.852 - info: iobroker make: Entering directory '/opt/iobroker/node_modules/authenticate-pam/build' 2018-11-13 20:08:56.857 - info: iobroker CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o 2018-11-13 20:08:57.273 - info: iobroker ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden #include ^ compilation terminated. 2018-11-13 20:08:58.543 - info: iobroker authenticate_pam.target.mk:92: recipe for target 'Release/obj.target/authenticate_pam/authenticate_pam.o' failedmake: Leaving directory '/opt/iobroker/node_modules/authenticate-pam/build' 2018-11-13 20:08:58.545 - info: iobroker make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 2018-11-13 20:08:58.546 - info: iobroker gyp 2018-11-13 20:08:58.548 - info: iobroker ERR! build error 2018-11-13 20:08:58.556 - info: iobroker gyp 2018-11-13 20:08:58.557 - info: iobroker 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:215:12) 2018-11-13 20:08:58.560 - info: iobroker gyp ERR! System Linux 4.4.50-v7+gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" 2018-11-13 20:08:58.562 - info: iobroker gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pamgyp 2018-11-13 20:08:58.564 - info: iobroker ERR! node -v v6.10.0gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 2018-11-13 20:08:58.590 - info: iobroker > pcap@2.1.0 install /opt/iobroker/node_modules/pcap > node-gyp rebuild 2018-11-13 20:09:00.398 - info: iobroker gyp 2018-11-13 20:09:00.404 - info: iobroker 2018-11-13 20:09:00.405 - info: iobroker WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/6.10.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp" 2018-11-13 20:09:02.950 - info: iobroker make: Entering directory '/opt/iobroker/node_modules/pcap/build' 2018-11-13 20:09:02.954 - info: iobroker CXX(target) Release/obj.target/pcap_binding/pcap_binding.o 2018-11-13 20:09:03.023 - info: iobroker ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: Datei oder Verzeichnis nicht gefunden #include ^ 2018-11-13 20:09:03.026 - info: iobroker compilation terminated. 2018-11-13 20:09:03.168 - info: iobroker pcap_binding.target.mk:93: recipe for target 'Release/obj.target/pcap_binding/pcap_binding.o' failedmake: Leaving directory '/opt/iobroker/node_modules/pcap/build' 2018-11-13 20:09:03.171 - info: iobroker make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1gyp ERR! build error 2018-11-13 20:09:03.185 - info: iobroker 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:215:12) gyp ERR! System Linux 4.4.50-v7+ gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /opt/iobroker/node_modules/pcap gyp ERR! node -v v6.10.0 2018-11-13 20:09:03.190 - info: iobroker gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok 2018-11-13 20:09:05.742 - info: iobroker npm 2018-11-13 20:09:05.744 - info: iobroker WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild` npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 2018-11-13 20:09:05.754 - info: iobroker npm 2018-11-13 20:09:05.755 - info: iobroker ERR! Linux 4.4.50-v7+npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/PArns/ioBroker.amazon-dash/tarball/master" "--production" "--save" "--prefix" "/opt/iobroker" 2018-11-13 20:09:05.757 - info: iobroker npm ERR! node v6.10.0 2018-11-13 20:09:05.758 - info: iobroker npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE 2018-11-13 20:09:05.760 - info: iobroker npm ERR! pcap@2.1.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.1.0 install script 'node-gyp rebuild'. 2018-11-13 20:09:05.762 - info: iobroker npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the pcap package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pcap npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pcap npm ERR! There is likely additional logging output above. 2018-11-13 20:09:05.864 - info: iobroker 2018-11-13 20:09:05.865 - info: iobroker npm ERR! Please include the following file with any support request:npm ERR! 2018-11-13 20:09:05.869 - info: iobroker /opt/npm-debug.log 2018-11-13 20:09:05.996 - error: iobroker Cannot parse null/io-package.json:Error: ENOENT: no such file or directory, open 'null/io-package.json' 2018-11-13 20:09:06.023 - info: iobroker exit 0 2018-11-13 20:09:11.958 - info: host.ioBroker-RasPi Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json"
Danke!
Gruß
Heiko
3153_dash-button.txt -
Na dann versuchen wir den Holzhammer
Ins ioBroker-Verzeichnis gehen, dort
sudo npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" --unsafe-perms
ausführen. Wenn das tut dann noch ein
iobroker upload amazon-dash
danach.
Dann manuell im Admin eine Instanz anlegen