NEWS
iobroker start unterbricht mit "...is not a function"
-
Wenn ich meinen iobroker mit
iobroker start
starte, wird das Starten mit dem error:
uncaught exception: tslib_1.__exportStar is not a function
abgebrochen.Vollständiger log:
Systemdata Hardwaresystem: Pi4 Arbeitsspeicher: 4GB Festplattenart: SD-Karte Betriebssystem: RaspBian lite (Debian 9 “Stretch”) Node-Version: 10.24.1 Nodejs-Version: 10.24.1 NPM-Version: 6.14.12 Image genutzt: Ja Ort/Name der Imagedatei: Link Ich hoffe ich habe nicht gegen zu viele Forums-Guidelines verstoßen und danke für hilfreiche Antworten.
-
@logilutions
ich bin nicht sicher ob das dein Problem bereits löst, aber du solltest deine node Version auf v12.x anheben. -
@bbtown ich habe node aktualisiert, das konnte aber das Problem leider nicht lösen.
-
@logilutions sagte in iobroker start unterbricht mit "...is not a function":
tslib_1.__exportStar is not a function
das ist ein Fehler von einer Depency in Zusammenhang mit Typescript, hast du was extra installiert?
Nach welcher Änderung ist der Fehler aufgetreten? -
-
@logilutions sagte in iobroker start unterbricht mit "...is not a function":
2021-05-30 23:53:52.002 - info: host.milos iobroker.js-controller version 3.3.11 js-controller starting
Du bist im Beta Kanal !
-
@glasfaser was bedeutet "Beta Kanal" und was genau kann ich machen?
-
@logilutions
Beta bedeutet, das du da Beta-Versionen testest.
Stell den sog. Verwahrort auf 'default / stable' ein. -
@thomas-braun wenn ich
iobroker repo
ausführe bekomme ich
stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo: stable
also scheint es auf
stable
zu stehen?
Wo kann ich das ansonten einstellen? -
@logilutions sagte in iobroker start unterbricht mit "...is not a function":
Wo kann ich das ansonten einstellen?
Jetzt nicht mehr .... eventuell mal umgestellt !?
oder
mit einemsudo -H -u iobroker npm install iobroker.js-controller
aus NPM gezogen ?
EDIT:
@logilutions sagte in iobroker start unterbricht mit "...is not a function":
ich habe node aktualisiert, das konnte aber das Problem leider nicht lösen.Zeige mal :
which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs iobroker status iobroker update
-
@glasfaser
bin mir nicht sicher, aber könnte sein, dass ichs bei den fix-versuchen mal aus npm neu gezogen hab. hat auf jedenfall nichts am log geändert.Ausgabe deiner Befehle:
$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v10.24.1 /usr/local/bin/node v14.17.0 /usr/local/bin/npm 6.14.13 nodejs: Installiert: 10.24.1-1nodesource1 Installationskandidat: 10.24.1-1nodesource1 Versionstabelle: *** 10.24.1-1nodesource1 500 500 https://deb.nodesource.com/node_10.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages ____________________________ $ iobroker status iobroker is not running on this host. No iobroker host is running. Objects type: redis States type: redis ____________________________ $ iobroker update Used repository: stable hash changed or no sources cached => force download of new sources update done Adapter "admin" : 4.2.1 , installed 4.2.1 ... alle anderen Adapter (alle aktuell)
-
nodeJS ist krumm.
Sauber installieren, am besten node12 oder node14. Siehe Link in meiner Signatur. -
@thomas-braun
ich habe jetzt node 14 nochmal ordentlich installiert.
Dennoch treten nach wie vor die gleichen Symptome auf. -
@logilutions
Was kommt jetzt aufwhich nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
zurück?
-
@glasfaser sagte in iobroker start unterbricht mit "...is not a function":
@logilutions sagte in iobroker start unterbricht mit "...is not a function":2021-05-30 23:53:52.002 - info: host.milos iobroker.js-controller version 3.3.11 js-controller starting
Du bist im Beta Kanal !
Ziehe den mal auf Stable .
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@3.2.16
-
/usr/bin/nodejs v14.17.0 /usr/local/bin/node v14.17.0 /usr/local/bin/npm 6.14.13 nodejs: Installiert: 14.17.0-1nodesource1 Installationskandidat: 14.17.0-1nodesource1 Versionstabelle: *** 14.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
-
@glasfaser
keine Änderung -
@logilutions
Node falsch installiert.
Schau nochmal in meine Signatur.
Die Pfade sind falsch. -
@thomas-braun
tut mir echt leid, hab wohl beim Lesen genau die Stelle mit den Pfaden ausgelassen .. Upsijetzt steht da
/usr/bin/nodejs v14.17.0 /usr/bin/node v14.17.0 /usr/bin/npm 6.14.13 nodejs: Installiert: 14.17.0-1nodesource1 Installationskandidat: 14.17.0-1nodesource1 Versionstabelle: *** 14.17.0-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Der Fehler in
iobroker logs
ist nach wie vor:
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@3.2.16