NEWS
Amazon Dash Adapter läuft nicht mehr?
-
Keine Ahnung,
eventuell sudo npm install adapter .amazon-dash
Mach aber vorher ein Backup wenn was schief läuft beim installieren. -
das hatte ich schon alles probiert, dann kommt diese Meldung
login as: pi pi@192.168.178.67's password: Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri May 17 15:16:13 2019 from 192.168.178.84 pi@raspberrypi:~ $ sudo npm install adapter .amazon-dash npm ERR! code ENOLOCAL npm ERR! Could not install from ".amazon-dash" as it does not contain a package.json file. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-05-17T13_18_56_540Z-debug.log pi@raspberrypi:~ $
-
https://github.com/PArns/ioBroker.amazon-dash
das hattest du auch ausgeführt ?
sudo apt-get install libpcap-dev -
@Ralla66 nein hatte ich nicht
-
@Ralla66 ist schon auf der neusten version
-
@denjo sagte in Amazon Dash Adapter läuft nicht mehr?:
sudo npm install adapter .amazon-dash
Vier Fehler sehe ich hier.
Erstens:npm
-Befehle zur Installation von Adaptern müssen in/opt/iobroker
ausgeführt werden.
Die nächsten zwei kannst du durch Lektüre von https://forum.iobroker.net/topic/17109/wichtige-hinweise-bei-neueren-npm-versionen-und-sudo sicher beheben.
Der vierte ist alles was nachinstall
kommt.Die korrekte Befehlszeile wäre
cd /opt/iobroker npm install iobroker.amazon-dash
Und da ich davon ausgehe, dass du dir durch vorherige
sudo npm install
Orgien die Rechte auf deinem System zerschossen hast, empfehle ich dir, den Fixer auszuführen.curl -sL https://iobroker.net/fix.sh | bash -
Bei korrekten Rechten sollte es auf neuen Installationen nie nötig sein, npm-Pakete mit
sudo
zu installieren. -
@AlCalzone das echt nett und warscheinlich gut beschrieben, aber für mich zu hoch.
ich habe heut morgen das hier gemacht um mein nodejs zu aktualisierenhttps://www.synology-forum.de/showthread.html?99192-NodeJs-Update-von-NodeJs-So-funktionierts!
also bedeutet das ich habe alles zerschossen und darf es mal wieder neu machen.
man ist das zum kotzen -
@denjo sagte in Amazon Dash Adapter läuft nicht mehr?:
ich habe heut morgen das hier gemacht um mein nodejs zu aktualisieren
Warum nimmst du externe Anleitungen und nicht die offizielle von uns?
http://www.iobroker.net/docu/?page_id=8323&lang=de#Upgrade_von_nodejs_und_npm -
ja hast ja recht
-
Die Anleitung ist klar besser, deswegen :
VORHER BACKUP MACHEN!! -
@Ralla66 ja bin gerade dabei alles neu zu machen mit mein backup, danke für die hilfe
-
Das wird schon, immer schön Backups machen wenn es läuft.
Geht mir aber manch einmal auch so das der Spieltrieb höher ist -
@Ralla66 habe jetzt alles neu aufgesetzt und backup aufgespielt trotzdem immer noch gleicher fehler mit amazon dash
-
und wenn ich es dann übers terminal probiere kommt auch wieder nur misst
login as: pi pi@192.168.178.67's password: Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri May 17 16:24:12 2019 from 192.168.178.84 pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm install iobroker.amazon-dash npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! path /opt/iobroker/node_modules npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules' npm ERR! { Error: EACCES: permission denied, access '/opt/iobroker/node_modules' npm ERR! stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/opt/iobroker/node_modules' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator (though this is not recommended). npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-05-17T14_56_12_770Z-debug.log pi@raspberrypi:/opt/iobroker $
-
Missing write access to /opt/iobroker/node_modules
Da fehlt wohl das Schreibrecht.
Wenn ich das richtig deute muß bei sudo "-H" und "–unsafe-perm" dazu. -
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo -H npm install iobroker.amazon-dash --unsafe-perm npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-75488af3': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-05-17T15_17_14_054Z-debug.log pi@raspberrypi:/opt/iobroker $
-
habs hinbekommen läuft wieder alles, fragt mich nicht wie aber läuft
-
Prima,
Backup machen und lächelnd durch die Welt laufen. -
@denjo was ist die Ausgabe von
ls -la /opt/iobroker/node_modules
Und
cat /opt/iobroker/INSTALLER_INFO.txt
?