NEWS
[Gelöst] Windows 10 plötzlich Fehler bei Adapter Dash Button Installation
-
Guten Morgen,
eigentlich läuft meine IObroker Installation seit ca 2 Jahren recht gut. Gelegentlich Fehler treten auf, konnte ich bisher aber immer irgendwie lösen. Nun habe ich seit Januar Probleme bei einigen Adaptern. Ich kann z.B. den Homekit Adapter nicht installieren und heute wollte ich den Amazon Dash Button Adapter installieren. Dabei erhalte ich folgenden Fehler:
$ ./iobroker add amazon-dash NPM version: 4.2.0 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v7.10.1 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'. 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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! apt-get install libpcap-dev -y || true npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dashnpm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dashnpm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-04-28T08_21_12_997Z-debug.log host.zotac-PC install adapter amazon-dash NPM version: 4.2.0npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker"npm ERR! node v7.10.1 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'. 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 iobroker.amazon-dash package, npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system: npm ERR! apt-get install libpcap-dev -y || truenpm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dash npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dash npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-04-28T08_21_29_326Z-debug.log host.zotac-PC install adapter amazon-dash NPM version: 4.2.0npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v7.10.1 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLEnpm ERR! errno 1 npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'.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 iobroker.amazon-dash package, npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system: npm ERR! apt-get install libpcap-dev -y || truenpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs iobroker.amazon-dash npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dashnpm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2018-04-28T08_21_44_887Z-debug.log host.zotac-PC install adapter amazon-dash ERROR: host.zotac-PC Cannot install amazon-dash ERROR: process exited with code 13
Kann jemand helfen?
MfG
Enrico
-
Welche node und NPM Version benutzt du?
Es sieht so aus alsob du npm 4.2 hast sollte aber 3.x sein und node sollte auf 6.x laufen manche Adapter Unterstützen ältere Versionen nicht
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community
-
Die Versionen waren etwas neuer, ich habe jetzt auf node 6.14.1 und npm auf 3.10.10 geändert (also App IOBroker gestoppt, node deinstalliert und neue Version drauf) iobroker erneut gestartet und wenn ich jetzt den Adapter installieren möchte, erhalte ich fast den selben Fehler:
$ ./iobroker add amazon-dash NPM version: 3.10.10 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker"npm ERR! node v6.14.1 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true` npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'. 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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! apt-get install libpcap-dev -y || true npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dashnpm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dashnpm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log host.zotac-PC install adapter amazon-dash NPM version: 3.10.10 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v6.14.1 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true`npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'. 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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! apt-get install libpcap-dev -y || true npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dash npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dash npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log host.zotac-PC install adapter amazon-dash NPM version: 3.10.10 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v6.14.1npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true` npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'.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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! apt-get install libpcap-dev -y || true npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dash npm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls iobroker.amazon-dashnpm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log host.zotac-PC install adapter amazon-dash ERROR: host.zotac-PC Cannot install amazon-dash ERROR: process exited with code 13
-
Der Installer probiert eine fehlende library zu installieren mit einem Unix commando (libcab-dev) das geht auf Windows natürlich nicht.
Für die Windows Version des library schau Mal hier:
Diese installieren und dann den Adapter wieder probieren
–-----------------------
Send from mobile device
Das schöne ios hat Auto Korrektur zum k****
Wer Schreibfehler findet darf sie behalten oder auf eBay verkaufen, mindest Umsatz 10% für die community
-
Ok das habe ich gemacht. Ich habe am Speicherpfad bei der Installation nichts geändert. Hätte ich?
Ergebnis ist leider nicht wie erwünscht:
$ ./iobroker add amazon-dash NPM version: 3.10.10 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v6.14.1npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true` npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'.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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! apt-get install libpcap-dev -y || true npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dash npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dash npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log host.zotac-PC install adapter amazon-dash NPM version: 3.10.10 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v6.14.1 npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'. 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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! apt-get install libpcap-dev -y || truenpm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dashnpm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dashnpm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log host.zotac-PC install adapter amazon-dash NPM version: 3.10.10 npm install iobroker.amazon-dash --production --save --prefix "C:/ioBroker" (System call) Der Befehl "apt-get" ist entweder falsch geschrieben oder konnte nicht gefunden werden. Der Befehl "true" ist entweder falsch geschrieben oder konnte nicht gefunden werden. npm ERR! Windows_NT 10.0.16299npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.amazon-dash" "--production" "--save" "--prefix" "C:/ioBroker" npm ERR! node v6.14.1 npm ERR! npm v3.10.10npm ERR! code ELIFECYCLE npm ERR! iobroker.amazon-dash@0.2.9 preinstall: `apt-get install libpcap-dev -y || true` npm ERR! Exit status 1npm ERR! npm ERR! Failed at the iobroker.amazon-dash@0.2.9 preinstall script 'apt-get install libpcap-dev -y || true'. 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 iobroker.amazon-dash package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! apt-get install libpcap-dev -y || true npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs iobroker.amazon-dash npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls iobroker.amazon-dash npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! C:\ioBroker\node_modules\iobroker\npm-debug.log host.zotac-PC install adapter amazon-dash ERROR: host.zotac-PC Cannot install amazon-dash ERROR: process exited with code 13
-
Ok, in dem Fall liegt es daran das der Adapter scheinbar auf WIndows nicht funktionieren kann - bzw aktuell nicht dafür ausgelegt ist. Er installiert per "apt-get" eine Library nach wenn das NPM Paket installiert wird. Unter windows gibt es das aber nicht.
Also hier beim Adapter-Entwickler bzw im GitHub nachfragen ob der überhaupt unter Windows tut
-
Also hier beim Adapter-Entwickler bzw im GitHub nachfragen ob der überhaupt unter Windows tut `
Nicht nötig, im readme steht.
@https://github.com/PArns/ioBroker.amazon-dash#iobrokeramazon-dash-linux-only:ioBroker.amazon-dash (Linux only!) `
Gruß Rainer
-
Moin Dutchman, apollon 77 und Homoran,
danke für Eure Hilfe. Schade, dass nicht alles auf Windows läuft. Ich nutze den kleinen Zotac als always on system mit TV Server (DVB Viewer), Unifi Controller für mein Netzwerk und eben IOBroker. Nebenbei kann ich auch jederzeit den Monitor einschalten und eben täglich Dinge am Rechner machen. Für all das sind 12W aus meiner Sicht vertretbar. Leider stößt Windows auch im IOBroker immer noch ein seine Grenzen, da es als Server /Programmierplattform eher gemieden wird. Dabei bietet es sich mit einem Stromsparenden I3 doch förmlich an (für mich zumindest). Naja egal, hier kann ich dann wohl "gelöst" zuschreiben.
MfG Enrico