NEWS
iobroker start unterbricht mit "...is not a function"
-
@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.
-
Wenn ich meinen iobroker mit
iobroker startstarte, 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 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? -
@bbtown ich habe node aktualisiert, das konnte aber das Problem leider nicht lösen.
-
Wenn ich meinen iobroker mit
iobroker startstarte, 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 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 !
-
@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?
-
@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. -
@logilutions
Beta bedeutet, das du da Beta-Versionen testest.
Stell den sog. Verwahrort auf 'default / stable' ein.@thomas-braun wenn ich
iobroker repoausführe bekomme ich
stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo: stablealso scheint es auf
stablezu 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-controlleraus 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 -
@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-controlleraus 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) -
@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. -
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. -
@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 nodejszurück?
-
@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 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 -
@logilutions
Was kommt jetzt aufwhich nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejszurück?
/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 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@glasfaser
keine Änderung -
@glasfaser
keine Änderung@logilutions
Node falsch installiert.
Schau nochmal in meine Signatur.
Die Pfade sind falsch. -
@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 PackagesDer Fehler in
iobroker logsist nach wie vor:
-
@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 PackagesDer Fehler in
iobroker logsist nach wie vor:
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@3.2.16 -
@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@glasfaser said in iobroker start unterbricht mit "...is not a function":
cd /opt/iobroker
sudo -H -u iobroker npm install iobroker.js-controller@3.2.16@Thomas-Braun Das hatte ich hier schon gemacht, hab es jetzt nochmals ausgeführt, hat aber nichts geändert.
-
@glasfaser said in iobroker start unterbricht mit "...is not a function":
cd /opt/iobroker
sudo -H -u iobroker npm install iobroker.js-controller@3.2.16@Thomas-Braun Das hatte ich hier schon gemacht, hab es jetzt nochmals ausgeführt, hat aber nichts geändert.
@logilutions
Dann zück dein Backup.