Open elzershark opened 3 months ago
Please add release version information to every problem reported:
NOTE: The error is NOT raised during usage of adapter but while starting an external program (which is recommended / reuired but not controller by ioBroker development).
@elzershark
Did you paste all those commands into shell at once?
# Unix
cd /opt/iobroker/node_modules/iobroker.ring/
npm i ring-client-api
cd /opt/iobroker/node_modules/iobroker.ring/node_modules/ring-client-api
node ring-auth-cli
Your output looks suspect as the npm output should normally occure after npm i
but before the node ...
command.
Please retry setup and enter commands line by line and copy the resulting output using some terminal emulator not inserting addional spaces.
If the sequence works using node 18 and does nozt work using node 20 an issue at ring-client-api
could be useful as this program is not developed by ioBroker developers.
Das ist nur ein Hinweis von mir, das die Befehle mit Node 20 nicht funktionieren. Es müsste an Node 20 angepasst werden. Node 20 ist seit 24.05. Standard bei IoBorker.
Damit der Adapter funktioniert, reicht es aus, wenn man den Befehl eingibt: Dadurch bekommt man den Tocken:
npx -p ring-client-api ring-auth-cli
--#
This is just a note from me that the commands don't work with Node 20. It would have to be adapted to Node 20. Node 20 has been active since May 24th. Standard at IoBorker.
In order for the adapter to work, it is enough to enter the command: This is how you get the tick:
npx -p ring-client-api ring-auth-cli
Mhmm
npx sollte ident zu npm i .. mit nachfolgendem node ... sein.
ABER wichtiger ist die Lösung:
Verstehe ich dich richtig: npx -p ring-client-api ring-auth-cli
anstelle der dokumentierten Befehlssequenz funktioniert?
Wenn das der Fall ist könnte ich die README.md anpassen (oder du erstellst einen PR :-) ). Das sollte ja dann für andere hilfreich sein.
Mhmm
npx sollte ident zu npm i .. mit nachfolgendem node ... sein.
ABER wichtiger ist die Lösung:
Verstehe ich dich richtig:
npx -p ring-client-api ring-auth-cli
anstelle der dokumentierten Befehlssequenz funktioniert? Wenn das der Fall ist könnte ich die README.md anpassen (oder du erstellst einen PR :-) ). Das sollte ja dann für andere hilfreich sein.
Also bei mir funktioniert es (Ubuntu) und Debian. Einfach selber testen. Mit Debian hab ich grad getestet. Und da ist nichts installiert außer Node 20. Also auch kein iobroker oder sonstwas.