Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Node.js update => iobroker startet nicht mehr

    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

    UNSOLVED Node.js update => iobroker startet nicht mehr

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

      Hallo,
      ich habe mein node.js anhand folgender Anleitung (post 6) auf 10.19 geupdatet. Nun erreiche ich iobroker nicht mehr. Ich erhalte folgende Meldung wenn ich nochmal "iobroker update" eingebe:

      E:\ioBroker\SmartHome>iobroker update
      internal/modules/cjs/loader.js:638
          throw err;
          ^
      
      Error: Cannot find module 'E:\ioBroker\SmartHome\node_modules\iobroker.js-controller\iobroker.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
          at startup (internal/bootstrap/node.js:283:19)
          at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
      

      Habe den nodejs Ordner gesichert... Zurückspielen brachte leider keinen Erfolg 😞

      sigi234 haselchen 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @chhe last edited by sigi234

        @chhe

        Was kommt bei:

        \ioBroker\SmartHome
        iobroker list instances
        node -v
        nodejs -v
        npm -v

        1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @chhe last edited by

          @chhe

          Ist das ne Windows Installation?
          Da hab ich wenn nicht so den Plan von.
          Gibt es da nicht auch den Ordner /opt/iobroker?
          Wenn ja, kommen da die Installationen rein.

          1 Reply Last reply Reply Quote 0
          • C
            chhe last edited by chhe

            Hallo, ja ist eine Windows Installation.
            Was meinst du mit dem Ordner opt/iobroker? Welche Installationen sollen da reinkommen?

            Screenshot_20200312-071744~2.jpg

            Das Update war offensichtlich auch nicht erfolgreich. NPM hat ja immer noch Version 10.17

            sigi234 1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @chhe last edited by

              @chhe
              https://www.iobroker.net/#de/documentation/trouble/RunsNoMore.md

              1 Reply Last reply Reply Quote 0
              • C
                chhe last edited by

                Beim Versuch den js-controller zu updaten erhalte ich folgende Meldungen:

                Screenshot_20200312-124606~2.jpg

                1 Reply Last reply Reply Quote 0
                • C
                  chhe last edited by

                  Hallo,
                  ich bin nun wie in dieser Anleitung vorgegangen:

                  1. Node Prozess läuft
                    node_prozess.jpg

                  2. Prüfung ob js-controller läuft => läuft offenbar nicht:

                  E:\ioBroker\SmartHome>netstat -n -a -p TCP
                  
                  Aktive Verbindungen
                  
                    Proto  Lokale Adresse         Remoteadresse          Status
                    TCP    0.0.0.0:80             0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:135            0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:443            0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:445            0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:5040           0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:5357           0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:7680           0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:49664          0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:49665          0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:49666          0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:49667          0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:49669          0.0.0.0:0              ABHÖREN
                    TCP    0.0.0.0:49688          0.0.0.0:0              ABHÖREN
                    TCP    127.0.0.1:5354         0.0.0.0:0              ABHÖREN
                    TCP    127.0.0.1:5939         0.0.0.0:0              ABHÖREN
                    TCP    127.0.0.1:5939         127.0.0.1:49734        HERGESTELLT
                    TCP    127.0.0.1:5939         127.0.0.1:52697        HERGESTELLT
                    TCP    127.0.0.1:49734        127.0.0.1:5939         HERGESTELLT
                    TCP    127.0.0.1:49737        127.0.0.1:49738        HERGESTELLT
                    TCP    127.0.0.1:49738        127.0.0.1:49737        HERGESTELLT
                    TCP    127.0.0.1:52697        127.0.0.1:5939         HERGESTELLT
                    TCP    192.168.178.2:139      0.0.0.0:0              ABHÖREN
                    TCP    192.168.178.2:443      192.168.178.24:65160   HERGESTELLT
                    TCP    192.168.178.2:49867    51.105.249.228:443     HERGESTELLT
                    TCP    192.168.178.2:50564    104.16.23.35:443       HERGESTELLT
                    TCP    192.168.178.2:52737    40.69.216.251:443      HERGESTELLT
                  
                  1. Start des js-controllers nicht möglich. Im Pfad unter node_modules/ kann ich auch keinen Ordner "iobroker-js.controller" finden
                  E:\ioBroker\SmartHome>node node_modules/iobroker.js-controller/controller.js --logs
                  internal/modules/cjs/loader.js:638
                      throw err;
                      ^
                  
                  Error: Cannot find module 'E:\ioBroker\SmartHome\node_modules\iobroker.js-controller\controller.js'
                      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                      at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                      at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
                      at startup (internal/bootstrap/node.js:283:19)
                      at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
                  
                  E:\ioBroker\SmartHome>
                  
                  1. Versuch js-controller neu zu installieren:
                  E:\ioBroker\SmartHome>npm install iobroker.js-controller
                  npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                  npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
                  
                  > iobroker.js-controller@2.2.9 preinstall E:\ioBroker\SmartHome\node_modules\iobroker.js-controller
                  > node lib/preinstallCheck.js
                  
                  Das System kann den angegebenen Pfad nicht finden.
                  npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
                  
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 3
                  npm ERR! iobroker.js-controller@2.2.9 preinstall: `node lib/preinstallCheck.js`
                  npm ERR! Exit status 3
                  npm ERR!
                  npm ERR! Failed at the iobroker.js-controller@2.2.9 preinstall script.
                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     E:\ioBroker\SmartHome\env\npm-cache\_logs\2020-03-12T14_42_58_452Z-debug.log
                  
                  E:\ioBroker\SmartHome>
                  

                  Prüfung node.js und npm:

                  E:\ioBroker\SmartHome>node -v
                  v10.17.0
                  
                  E:\ioBroker\SmartHome>npm -v
                  6.11.3
                  

                  => Zeichen auch nicht dieselbe Versionsnummer. Aufgrund der vorgegangen Errors habe ich hier aber abgebrochen. Wie bekomme ich diese Fehler behoben?

                  Grundsätzlich könnte ich auch neuinstallieren und auf das Update von node.js verzichten. Ich möchte die Grundinstallation aber schon gerne auf den aktuellsten stable Versionen haben.

                  mikeal created this issue in request/request

                  open Request’s Past, Present and Future #3142

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @chhe last edited by

                    @chhe
                    An Deiner Stelle würde ich die Installation löschen und neu machen, danach ein Backup rein und gut is. Es sei denn, das läuft unter Windows auch anders.
                    Hätte nie gedacht, dass ich mal sage, dass mir Windows hier einfach zu kompliziert ist 🙂

                    sigi234 1 Reply Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active @Jan1 last edited by sigi234

                      @Jan1 sagte in Node.js update => iobroker startet nicht mehr:

                      An Deiner Stelle würde ich die Installation löschen und neu machen, danach ein Backup rein und gut is

                      Ja, aber von der Richtigen Quelle und mach kein Update, das kommt mit dem Installer demnächst.

                      https://www.iobroker.net/#de/download

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

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      929
                      Online

                      31.9k
                      Users

                      80.1k
                      Topics

                      1.3m
                      Posts

                      update nodejs
                      4
                      9
                      2760
                      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