Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. iobroker start unterbricht mit "...is not a function"

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker start unterbricht mit "...is not a function"

    This topic has been deleted. Only users with topic management privileges can see it.
    • logilutions
      logilutions last edited by

      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:

      2021-05-30 23:53:49.937  - info: host.milos iobroker _restart
      2021-05-30 23:53:49.956  - info: host.milos terminated
      2021-05-30 23:53:50.589  - info: host.milos iobroker Starting node restart.js
      2021-05-30 23:53:50.822  - info: host.milos received SIGTERM
      2021-05-30 23:53:50.824  - info: host.milos terminated
      2021-05-30 23:53:50.830  - info: host.milos iobroker exit null
      2021-05-30 23:53:52.002  - info: host.milos iobroker.js-controller version 3.3.11 js-controller starting
      2021-05-30 23:53:52.008  - info: host.milos Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
      2021-05-30 23:53:52.009  - info: host.milos hostname: milos, node: v10.24.1
      2021-05-30 23:53:52.010  - info: host.milos ip addresses: [IP]
      2021-05-30 23:53:52.133  - info: host.milos connected to Objects and States
      2021-05-30 23:53:52.162  - info: host.milos added notifications configuration of host
      2021-05-30 23:53:52.447  - error: host.milos uncaught exception: tslib_1.__exportStar is not a function
      2021-05-30 23:53:52.447  - error: host.milos TypeError: tslib_1.__exportStar is not a function
          at Object.<anonymous> (/opt/iobroker/node_modules/@sentry/utils/dist/index.js:3:9)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/opt/iobroker/node_modules/@sentry/hub/dist/scope.js:3:15)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
      

      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.

      BBTown ? Glasfaser 3 Replies Last reply Reply Quote 0
      • BBTown
        BBTown @logilutions last edited by

        @logilutions
        ich bin nicht sicher ob das dein Problem bereits löst, aber du solltest deine node Version auf v12.x anheben.

        logilutions 1 Reply Last reply Reply Quote 0
        • logilutions
          logilutions @BBTown last edited by

          @bbtown ich habe node aktualisiert, das konnte aber das Problem leider nicht lösen.

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @logilutions last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @logilutions last edited by Thomas Braun

              @logilutions

              RaspBian lite (Debian 9 “Stretch”)

              Das auch mal auf 'Buster' bringen.

              1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @logilutions last edited by

                @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 Glasfaser 2 Replies Last reply Reply Quote 0
                • logilutions
                  logilutions @Glasfaser last edited by

                  @glasfaser was bedeutet "Beta Kanal" und was genau kann ich machen?

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @logilutions last edited by

                    @logilutions
                    Beta bedeutet, das du da Beta-Versionen testest.
                    Stell den sog. Verwahrort auf 'default / stable' ein.

                    logilutions 1 Reply Last reply Reply Quote 0
                    • logilutions
                      logilutions @Thomas Braun last edited by

                      @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?

                      1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser last edited by Glasfaser

                        @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 einem

                        sudo -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
                        
                        logilutions 1 Reply Last reply Reply Quote 0
                        • logilutions
                          logilutions @Glasfaser last edited by logilutions

                          @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)
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @logilutions last edited by

                            @logilutions

                            nodeJS ist krumm.
                            Sauber installieren, am besten node12 oder node14. Siehe Link in meiner Signatur.

                            logilutions 1 Reply Last reply Reply Quote 0
                            • logilutions
                              logilutions @Thomas Braun last edited by

                              @thomas-braun
                              ich habe jetzt node 14 nochmal ordentlich installiert.
                              Dennoch treten nach wie vor die gleichen Symptome auf.

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @logilutions last edited by

                                @logilutions
                                Was kommt jetzt auf

                                which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs 
                                

                                zurück?

                                logilutions 1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @Glasfaser last edited by

                                  @logilutions

                                  @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 2 Replies Last reply Reply Quote 0
                                  • logilutions
                                    logilutions @Thomas Braun last edited by

                                    @thomas-braun

                                    /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
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • logilutions
                                      logilutions @Glasfaser last edited by

                                      @glasfaser
                                      keine Änderung

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @logilutions last edited by Thomas Braun

                                        @logilutions
                                        Node falsch installiert.
                                        Schau nochmal in meine Signatur.
                                        Die Pfade sind falsch.

                                        logilutions 1 Reply Last reply Reply Quote 0
                                        • logilutions
                                          logilutions @Thomas Braun last edited by

                                          @thomas-braun
                                          tut mir echt leid, hab wohl beim Lesen genau die Stelle mit den Pfaden ausgelassen .. Upsi

                                          jetzt 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:

                                          2021-06-07 22:55:56.604  - info: host.milos iobroker _restart
                                          2021-06-07 22:55:56.623  - info: host.milos terminated
                                          2021-06-07 22:55:57.266  - info: host.milos iobroker Starting node restart.js
                                          2021-06-07 22:55:57.266  - info: host.milos iobroker Starting node restart.js
                                          2021-06-07 22:55:58.880  - info: host.milos iobroker.js-controller version 3.2.16 js-controller starting
                                          2021-06-07 22:55:58.887  - info: host.milos Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                          2021-06-07 22:55:58.888  - info: host.milos hostname: milos, node: v14.17.0
                                          2021-06-07 22:55:58.889  - info: host.milos ip addresses: [IP] 
                                          2021-06-07 22:55:59.065  - info: host.milos connected to Objects and States
                                          2021-06-07 22:55:59.100  - info: host.milos added notifications configuration of host
                                          2021-06-07 22:55:59.348  - error: host.milos uncaught exception: tslib_1.__exportStar is not a function
                                          2021-06-07 22:55:59.349  - error: host.milos TypeError: tslib_1.__exportStar is not a function
                                             at Object.<anonymous> (/opt/iobroker/node_modules/@sentry/utils/dist/index.js:3:9)
                                             at Module._compile (internal/modules/cjs/loader.js:1068:30)
                                             at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
                                             at Module.load (internal/modules/cjs/loader.js:933:32)
                                             at Function.Module._load (internal/modules/cjs/loader.js:774:14)
                                             at Module.require (internal/modules/cjs/loader.js:957:19)
                                             at require (internal/modules/cjs/helpers.js:88:18)
                                             at Object.<anonymous> (/opt/iobroker/node_modules/@sentry/hub/dist/scope.js:3:15)
                                             at Module._compile (internal/modules/cjs/loader.js:1068:30)
                                             at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
                                          2021-06-07 22:55:59.358  - info: host.milos iobroker _restart
                                          2021-06-07 22:55:59.376  - info: host.milos terminated
                                          2021-06-07 22:55:58.880  - info: host.milos iobroker.js-controller version 3.2.16 js-controller starting
                                          2021-06-07 22:55:58.887  - info: host.milos Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
                                          2021-06-07 22:55:58.888  - info: host.milos hostname: milos, node: v14.17.0
                                          2021-06-07 22:55:58.889  - info: host.milos ip addresses: 192.168.1.94 fd8c:7d82:f0fc:1:6101:8c40:b126:7097 2003:f3:1706:1600:f36c:2cef:f6c6:1d92 fe80::4c4:fc63:bb4f:e69a
                                          2021-06-07 22:55:59.065  - info: host.milos connected to Objects and States
                                          2021-06-07 22:55:59.100  - info: host.milos added notifications configuration of host
                                          2021-06-07 22:55:59.348  - error: host.milos uncaught exception: tslib_1.__exportStar is not a function
                                          2021-06-07 22:55:59.349  - error: host.milos TypeError: tslib_1.__exportStar is not a function
                                             at Object.<anonymous> (/opt/iobroker/node_modules/@sentry/utils/dist/index.js:3:9)
                                             at Module._compile (internal/modules/cjs/loader.js:1068:30)
                                             at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
                                             at Module.load (internal/modules/cjs/loader.js:933:32)
                                             at Function.Module._load (internal/modules/cjs/loader.js:774:14)
                                             at Module.require (internal/modules/cjs/loader.js:957:19)
                                             at require (internal/modules/cjs/helpers.js:88:18)
                                             at Object.<anonymous> (/opt/iobroker/node_modules/@sentry/hub/dist/scope.js:3:15)
                                             at Module._compile (internal/modules/cjs/loader.js:1068:30)
                                             at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
                                          

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @logilutions last edited by

                                            @logilutions

                                            cd /opt/iobroker
                                            sudo -H -u iobroker npm install iobroker.js-controller@3.2.16
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            906
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            24
                                            512
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo