NEWS
IoBroker und Tinkerboard was für Updates?
-
Guten Abend liebe Forumgemeinde
Ich habe mir ein Asus Tinkerboard gekauft und das Image inkl. CCU von der Iobroker–Webseite heruntergeladen. Nun läuft ioBroker auch wunderbar. Meine Frage ist nun, was sollte ich an Updates ziehen? Nodejs? Etc. etc.
Als ich den DashButton Adapter installieren wollte kam nämlich prompt eine Fehlermeldung. Danke im Voraus für jede Hilfe. Toll wäre es wenn ihr mir evtl. zusätzlich die SSH Befehle dazu schreiben würdet.
Liebe Grüße
Maurice
-
-
Alle Versionen inkl. Adapter:
"hosts": [ { "version": "1.2.1", "platform": "Javascript/Node.js", "type": "linux" } ], "node": "v6.12.0", "arch": "arm", "adapters": { "admin": { "version": "3.5.3", "platform": "Javascript/Node.js" }, "discovery": { "version": "0.4.4", "platform": "Javascript/Node.js" }, "hm-rpc": { "version": "1.4.14", "platform": "Javascript/Node.js" }, "hm-rega": { "version": "1.6.6", "platform": "Javascript/Node.js" }, "web": { "version": "2.1.9", "platform": "Javascript/Node.js" }, "vis": { "version": "1.0.4", "platform": "Javascript/Node.js" }, "history": { "version": "1.6.3", "platform": "Javascript/Node.js" }, "flot": { "version": "1.7.0", "platform": "javascript/Node.js" }, "javascript": { "version": "3.4.0", "platform": "Javascript/Node.js" }, "mobile": { "version": "0.4.11", "platform": "javascript/Node.js" }, "socketio": { "version": "1.8.6", "platform": "Javascript/Node.js" }, "cloud": { "version": "2.6.2", "platform": "Javascript/Node.js" }, "rpi2": { "version": "0.3.1", "platform": "javascript/Node.js" }, "terminal": { "version": "0.1.2", "platform": "Javascript/Node.js" } }, "model": "ARMv7 Processor rev 1 (v7l)", "cpus": 4, "mem": 2102583296, "ostype": "Linux", "city": "XXX", "vis": 0 }
Ich setzte halt alles komplett neu auf, und der Rasberry war schnell an seiner Grenze (RAM).
Fehlermeldung DashButton Adapter:
$ ./iobroker add amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) 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 ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: No such file or directory compilation terminated. make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 gyp 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.13.14-rockchip 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.12.0 gyp ERR! node-gyp -v v3.4.0gyp ERR! not ok ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directorycompilation terminated. make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1 gyp 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.13.14-rockchip 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/pcap gyp ERR! node -v v6.12.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 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 npm ERR! Linux 4.13.14-rockchipnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.12.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pcap@2.0.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.0.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. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.tinkerboard install adapter amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) 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 ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: No such file or directorycompilation terminated. make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 gyp 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.13.14-rockchipgyp 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.12.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directory compilation terminated. make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1 gyp 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.13.14-rockchip 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/pcap gyp ERR! node -v v6.12.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 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 npm ERR! Linux 4.13.14-rockchip npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pcap@2.0.0 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.0.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 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! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /npm-debug.log host.tinkerboard install adapter amazon-dash npm install iobroker.amazon-dash --production --prefix "/opt/iobroker" (System call) 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 ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: No such file or directorycompilation terminated. make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Error 1 gyp 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.13.14-rockchipgyp 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.12.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok ../pcap_binding.cc:2:23: fatal error: pcap/pcap.h: No such file or directorycompilation terminated. make: *** [Release/obj.target/pcap_binding/pcap_binding.o] Error 1 gyp 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.13.14-rockchip 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/pcap gyp ERR! node -v v6.12.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok 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 npm ERR! Linux 4.13.14-rockchipnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/opt/iobroker" npm ERR! node v6.12.0 npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE npm ERR! pcap@2.0.0 install: `node-gyp rebuild`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pcap@2.0.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. npm ERR! Please include the following file with any support request:npm ERR! /npm-debug.log host.tinkerboard install adapter amazon-dash ERROR: host.tinkerboard Cannot install amazon-dash ERROR: process exited with code 13
Liebe Grüße
Maurice
-
-
was ist denn im Moment drauf? `
npm ERR! node v6.12.0
npm ERR! npm v3.10.10 `
hätte gereichtDu kannst npm auf v4 anheben mit:
sudo npm install -g npm@4
Gruß
Rainer `
<emoji seq="1f602"></emoji> Danke Rainer, nächstes mal weiß ich Bescheid.Kurz eine andere Frage, kann ich RAM Reservierung ändern? Glaube die CCU hat jetzt 1GB und io auch?