NEWS
Alexa2.0 login nicht möglich
-
Ich weiss nicht ob dies reicht um zu sehen wo das Problem liegt.
Kann auch den ganzen Log von heute anhängen aber der ist sehr lang.2020-07-17 00:00:16.404 - [32minfo[39m: host.raspberrypi instance system.adapter.alexa2.0 started with pid 20335 2020-07-17 00:00:17.103 - [31merror[39m: host.raspberrypi Caught by controller[0]: internal/modules/cjs/loader.js:969 2020-07-17 00:00:17.104 - [31merror[39m: host.raspberrypi Caught by controller[0]: throw err; 2020-07-17 00:00:17.104 - [31merror[39m: host.raspberrypi Caught by controller[0]: ^ 2020-07-17 00:00:17.104 - [31merror[39m: host.raspberrypi Caught by controller[0]: Error: Cannot find module 'https-proxy-agent' 2020-07-17 00:00:17.104 - [31merror[39m: host.raspberrypi Caught by controller[0]: Require stack: 2020-07-17 00:00:17.104 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js 2020-07-17 00:00:17.104 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/virtual-device-sdk/lib/src/Index.js 2020-07-17 00:00:17.105 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.alexa2/main.js 2020-07-17 00:00:17.105 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) 2020-07-17 00:00:17.105 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:842:27) 2020-07-17 00:00:17.105 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19) 2020-07-17 00:00:17.105 - [31merror[39m: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18) 2020-07-17 00:00:17.105 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js:41:23) 2020-07-17 00:00:17.119 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30) 2020-07-17 00:00:17.119 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) 2020-07-17 00:00:17.119 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32) 2020-07-17 00:00:17.119 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14) 2020-07-17 00:00:17.120 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19) { 2020-07-17 00:00:17.120 - [31merror[39m: host.raspberrypi Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2020-07-17 00:00:17.120 - [31merror[39m: host.raspberrypi Caught by controller[0]: requireStack: [ 2020-07-17 00:00:17.120 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js', 2020-07-17 00:00:17.120 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/virtual-device-sdk/lib/src/Index.js', 2020-07-17 00:00:17.120 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.alexa2/main.js' 2020-07-17 00:00:17.121 - [31merror[39m: host.raspberrypi Caught by controller[0]: ] 2020-07-17 00:00:17.121 - [31merror[39m: host.raspberrypi Caught by controller[0]: } 2020-07-17 00:00:17.122 - [31merror[39m: host.raspberrypi instance system.adapter.alexa2.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2020-07-17 00:00:17.122 - [32minfo[39m: host.raspberrypi Restart adapter system.adapter.alexa2.0 because enabled 2020-07-17 00:00:47.139 - [32minfo[39m: host.raspberrypi instance system.adapter.alexa2.0 started with pid 20354 2020-07-17 00:00:47.734 - [31merror[39m: host.raspberrypi Caught by controller[0]: internal/modules/cjs/loader.js:969 2020-07-17 00:00:47.735 - [31merror[39m: host.raspberrypi Caught by controller[0]: throw err; 2020-07-17 00:00:47.735 - [31merror[39m: host.raspberrypi Caught by controller[0]: ^ 2020-07-17 00:00:47.735 - [31merror[39m: host.raspberrypi Caught by controller[0]: Error: Cannot find module 'https-proxy-agent' 2020-07-17 00:00:47.735 - [31merror[39m: host.raspberrypi Caught by controller[0]: Require stack: 2020-07-17 00:00:47.735 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js 2020-07-17 00:00:47.735 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/virtual-device-sdk/lib/src/Index.js 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.alexa2/main.js 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:842:27) 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19) 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18) 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js:41:23) 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30) 2020-07-17 00:00:47.736 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32) 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14) 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19) { 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: requireStack: [ 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js', 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/virtual-device-sdk/lib/src/Index.js', 2020-07-17 00:00:47.737 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.alexa2/main.js' 2020-07-17 00:00:47.738 - [31merror[39m: host.raspberrypi Caught by controller[0]: ] 2020-07-17 00:00:47.738 - [31merror[39m: host.raspberrypi Caught by controller[0]: } 2020-07-17 00:00:47.738 - [31merror[39m: host.raspberrypi instance system.adapter.alexa2.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2020-07-17 00:00:47.738 - [32minfo[39m: host.raspberrypi Restart adapter system.adapter.alexa2.0 because enabled 2020-07-17 00:01:17.755 - [32minfo[39m: host.raspberrypi instance system.adapter.alexa2.0 started with pid 20421 2020-07-17 00:01:18.382 - [31merror[39m: host.raspberrypi Caught by controller[0]: internal/modules/cjs/loader.js:969 2020-07-17 00:01:18.382 - [31merror[39m: host.raspberrypi Caught by controller[0]: throw err; 2020-07-17 00:01:18.382 - [31merror[39m: host.raspberrypi Caught by controller[0]: ^ 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: Error: Cannot find module 'https-proxy-agent' 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: Require stack: 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/virtual-device-sdk/lib/src/Index.js 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.alexa2/main.js 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:842:27) 2020-07-17 00:01:18.383 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js:41:23) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14) 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19) { 2020-07-17 00:01:18.384 - [31merror[39m: host.raspberrypi Caught by controller[0]: code: 'MODULE_NOT_FOUND', 2020-07-17 00:01:18.385 - [31merror[39m: host.raspberrypi Caught by controller[0]: requireStack: [ 2020-07-17 00:01:18.385 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/virtual-device-sdk/lib/src/VirtualDevice.js', 2020-07-17 00:01:18.385 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/virtual-device-sdk/lib/src/Index.js', 2020-07-17 00:01:18.385 - [31merror[39m: host.raspberrypi Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.alexa2/main.js' 2020-07-17 00:01:18.385 - [31merror[39m: host.raspberrypi Caught by controller[0]: ] 2020-07-17 00:01:18.385 - [31merror[39m: host.raspberrypi Caught by controller[0]: }
-
@smarty15 sagte in Alexa2.0 login nicht möglich:
Von Hand installiert schon probiert?npm i https-proxy-agent
-
Das habe ich noch nie gemacht so
Muss ich dazu den Code von dir einfach im Terminal eingeben? -
@Thomas-Braun sagte in Alexa2.0 login nicht möglich:
@smarty15 sagte in Alexa2.0 login nicht möglich:
Von Hand installiert schon probiert?npm i https-proxy-agent
habs versucht, bringt leider kein erfolg.
-
ich habe das problem das er mir immer anzeigt, das ich angeblich Falsche Login Daten eingegeben habe. Was aber absolut nicht sein kann! Mehrfach schon ausprobiert und getestet.
-
@Eulo Was liefert denn
cd /opt/iobroker npm list https-proxy-agent
-
Habe jetzt beides probiert
leider ohne ErfolgHier der Auszug aus dem Terminal
pi@raspberrypi:~ $ npm i https-proxy-agent npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. + https-proxy-agent@5.0.0 added 4 packages from 3 contributors and audited 4 packages in 1.083s found 0 vulnerabilities pi@raspberrypi:~ $ iobroker restart pi@raspberrypi:~ $ node -v v12.18.2 pi@raspberrypi:~ $ npm -v 6.14.5 pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm list https-proxy-agent iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.alexa2@3.2.8 │ └─┬ @sentry/node@5.19.2 │ └── https-proxy-agent@5.0.0 └─┬ iobroker.vis-weather@2.5.2 └─┬ npm@6.14.4 └─┬ npm-registry-fetch@4.0.3 └─┬ make-fetch-happen@5.0.2 └── https-proxy-agent@2.2.4 pi@raspberrypi:/opt/iobroker $
-
@smarty15
Komisch, bei mir liegt das Modul auch noch im js-controller drin:pi@raspberrypi:/opt/iobroker $ npm list https-proxy-agent iobroker.inst@2.0.3 /opt/iobroker ├─┬ iobroker.alexa2@3.2.8 │ └─┬ @sentry/node@5.19.2 │ └── https-proxy-agent@5.0.0 ├─┬ iobroker.backitup@1.5.8 │ └─┬ google-auth-library@6.0.0 │ └─┬ gaxios@3.0.3 │ └── https-proxy-agent@5.0.0 ├─┬ iobroker.js-controller@3.1.6 │ └─┬ @iobroker/plugin-sentry@1.1.4 │ └─┬ @sentry/node@5.17.0 │ └── https-proxy-agent@4.0.0 └─┬ iobroker.nuki-extended@2.2.6 └─┬ npm@6.14.6 └─┬ npm-registry-fetch@4.0.5 └─┬ make-fetch-happen@5.0.2 └── https-proxy-agent@2.2.4
-
Also heisst dass das bei mir irgendwo ein Fehler ist?
-
@smarty15 Das kann ich nicht sagen. Aber der js-controller ist so zentral, das würde ich eigentlich bei jeder Installation dann dort erwarten.
iobroker version
bringt?
-
Ok
Da bekomme ich das hier raus
pi@raspberrypi:~ $ iobroker version 3.1.6 pi@raspberrypi:~ $
-
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
-
Soll ich das jetzt im Terminal eingeben?
oder ist das dass was bei dir rauskommt wenn du iobroker Version eingibst? -
@smarty15
Das so in deine Konsole kopieren. -
ok dann erscheint das hier
pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v12.18.2 /usr/local/bin/node v12.18.2 /usr/local/bin/npm 6.14.5 nodejs: Installiert: 12.18.2-1nodesource1 Installationskandidat: 12.18.2-1nodesource1 Versionstabelle: *** 12.18.2-1nodesource1 100 100 /var/lib/dpkg/status 10.21.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x buster/main armhf Packages 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages pi@raspberrypi:~ $
-
@smarty15 Node nicht richtig installiert.
Schau dich hier mal um:
https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/3 -
Ich bin mir das eben am ansehen und bin da noch nicht ganz sicher ob ich das richtig verstehe
in dem Kommando das ich da gesehen habe:
sudo rm /pfad/zu/der/falschen/datei
Das muss ich wohl mit dem Pfad der bei mir ausgespuckt wird ersetzen?
Oder verstehe ich das falsch?Also mit dem hier
/usr/bin/nodejs v12.18.2 /usr/local/bin/node v12.18.2 /usr/local/bin/npm 6.14.5 nodejs: Installiert: 12.18.2-1nodesource1 Installationskandidat: 12.18.2-1nodesource1 Versionstabelle: *** 12.18.2-1nodesource1 100 100 /var/lib/dpkg/status 10.21.0-1nodesource1 500 500 https://deb.nodesource.com/node_10.x buster/main armhf Packages 10.21.0~dfsg-1~deb10u1+rpi1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Das der Code dann so aussieht
sudo rm /usr/bin/nodejs
Oder hab ich das ganz falsch verstanden?
-
@smarty15 sagte in Alexa2.0 login nicht möglich:
/usr/local/bin/
Das ist der falsche Pfad. Also die Versionen von node und npm die dort liegen löschen.
sudo rm /usr/local/bin/node sudo rm /usr/local/bin/npm
-
Ok das habe ich jetzt so gemacht
Hab ich jetzt zu schnell schon mit dem weiteren Befehl weitergefahren?
pi@raspberrypi:~ $ sudo rm /usr/local/bin/node pi@raspberrypi:~ $ sudo rm /usr/local/bin/npm pi@raspberrypi:~ $ sudo apt install nodejs --reinstall Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Erneute Installation von nodejs ist nicht möglich, es kann nicht heruntergeladen werden. Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt: rpi-eeprom-images Verwenden Sie »sudo apt autoremove«, um es zu entfernen. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
-
@smarty15 sagte in Alexa2.0 login nicht möglich:
Erneute Installation von nodejs ist nicht möglich, es kann nicht heruntergeladen werden.
Bist du im Netz mit der Kiste?
sudo apt update sudo apt install nodejs --reinstall