NEWS
Alexa und Backitup laufen nicht mehr
-
Hallo zusammen,
ich habe das Problem das beide Adapter nicht mehr laufen und ich habe keine Ahnung was das Problem ist.
npm und js sind auf neuesten stand. Beide Adapter schon einmal deinstalliert und neu installiert. Alles ohne Erfolg.host.ubuntu_1604 2020-06-28 17:09:00.484 error instance system.adapter.alexa2.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.ubuntu_1604 2020-06-28 17:09:00.484 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10) host.ubuntu_1604 2020-06-28 17:09:00.484 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1128:30) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/alexa-remote2/alexa-remote.js:13:24) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1023:19) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:891:14) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:983:32) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10) host.ubuntu_1604 2020-06-28 17:09:00.483 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1098:27) host.ubuntu_1604 2020-06-28 17:09:00.482 error Caught by controller[0]: at wrapSafe (internal/modules/cjs/loader.js:1050:16) host.ubuntu_1604 2020-06-28 17:09:00.482 error Caught by controller[0]: SyntaxError: Unexpected token 'export' host.ubuntu_1604 2020-06-28 17:09:00.482 error Caught by controller[0]: ^^^^^^ host.ubuntu_1604 2020-06-28 17:09:00.482 error Caught by controller[0]: export { default as v1 } from './v1.js'; host.ubuntu_1604 2020-06-28 17:09:00.481 error Caught by controller[0]: /opt/iobroker/node_modules/alexa-remote2/node_modules/uuid/dist/esm-browser/index.js:1 Hier ist mein logfile, kann mir jemand damit helfen? Torsten
-
@torstenh sagte in Alexa und Backitup laufen nicht mehr:
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
-
/usr/bin/nodejs v13.3.0 /usr/bin/node v13.3.0 /usr/bin/npm 6.14.5 nodejs: Installiert: 13.3.0-1nodesource1 Installationskandidat: 13.14.0-1nodesource1 Versionstabelle: 13.14.0-1nodesource1 500 500 https://deb.nodesource.com/node_13.x xenial/main amd64 Packages *** 13.3.0-1nodesource1 100 100 /var/lib/dpkg/status 4.2.6~dfsg-1ubuntu4.2 500 500 http://mirror.ipb.de/ubuntu xenial-updates/universe amd64 Packages 500 http://mirror.ipb.de/ubuntu xenial-security/universe amd64 Packages 4.2.6~dfsg-1ubuntu4 500 500 http://mirror.ipb.de/ubuntu xenial/universe amd64 Packages root@ubuntu_1604:/home/admin#
-
@torstenh Drei Dinge:
- root-Login -> Meld dich als user an
- Ungerade Version von node -> Installier node12
- Steinaltes ubuntu -> Update das auf was aktuelleres.
-
Danke für die schnelle Hilfe...
Läuft auf einenm Qnap -> Linuxstation
wie bekomme ich node12 installiert (mit welchem Befehl)Grüße Torsten
-
nano /etc/apt/sources.list.d/nodesource.list
Dort dann aus der 13 eine 12 machen. Die Zeile sollte dann so ähnlich aussehen:
deb https://deb.nodesource.com/node_12.x xenial main
Dann
apt update apt install nodejs=12.18.1-1nodesource1
-
Danke...!
Grüße Torsten
-
Hallo Thomas,
Danke für deine Ratschläge, ich habe alle drei befolgt und es läuft wieder.
Grüße,
Torsten