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.
    • 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
                                          • logilutions
                                            logilutions @Glasfaser last edited by

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

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            866
                                            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