Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Iobroker updaten node und npm

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    992

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Iobroker updaten node und npm

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
7 Beiträge 2 Kommentatoren 3.0k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M Offline
    M Offline
    Mitch
    schrieb am zuletzt editiert von
    #1

    Hallo zusammen,

    Ich nutze derzeit:

    Node.js: v6.14.4

    NPM: 3.10.10

    Und würde gerne auf:

    Node.js: v8.14.0

    NPM: 6.4.1

    Ist das zu empfehlen?

    Was ist den hier zu beachten. Wenn ich das richtig verstanden habe, muss ich bei node nochmal kompilieren.

    Gibt es dazu irgendwo eijlne Anleitung dazu?

    Ich habe iobroker auf dem Buanet Docker-Container laufen. Am liebsten würde ich ja den Docker Container neu ziehen, da er aktualisiert worden ist. Allerdings weiss ich nicht, wie ich dann meine gesamte Konfiguration einfach in die Neuinstallation übernehmen kann.

    1 Antwort Letzte Antwort
    0
    • M Offline
      M Offline
      Mitch
      schrieb am zuletzt editiert von
      #2

      Ich habe die wichtigsten Infos hier gefunden:

      http://www.iobroker.net/docu/?page_id=8 … ion_Nodejs

      Sollte ich irgendwo noch vorsichtig sein oder etwas beachten? Sicherungen habe ich natürlich.

      1 Antwort Letzte Antwort
      0
      • apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #3

        Anstelle rebuild.sh bitte am besten zuerst ein

        npm rebuild

        Im iobroker Verzeichnis Versuchen. Sollte schon reichen.

        Gesendet vom Handy …

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • M Offline
          M Offline
          Mitch
          schrieb am zuletzt editiert von
          #4

          Super, das probiere ich. Ich gebe Rückmeldung, ob alles zu funktionieren scheint.

          1 Antwort Letzte Antwort
          0
          • M Offline
            M Offline
            Mitch
            schrieb am zuletzt editiert von
            #5

            Also, ich bin jetzt auf:

            Node.js: v8.14.0

            NPM: 6.5.0

            1 Antwort Letzte Antwort
            0
            • M Offline
              M Offline
              Mitch
              schrieb am zuletzt editiert von
              #6

              Folgende Probleme zeigt er mir noch an, nach einem npm install:

              0 info it worked if it ends with ok
              1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'audit', 'fix' ]
              2 info using npm@6.5.0
              3 info using node@v8.14.0
              4 verbose npm-session 513f21d69399a4ee
              5 verbose stack Error: Errors were found in your package-lock.json, run  npm install  to fix them.
              5 verbose stack     Invalid: lock file's iobroker.admin@3.4.7 does not satisfy iobroker.admin@^3.5.10
              5 verbose stack     Invalid: lock file's iobroker.discovery@1.2.1 does not satisfy iobroker.discovery@^1.2.4
              5 verbose stack     Missing: iobroker.fritzdect@https://github.com/foxthefox/ioBroker.fritzdect/tarball/master
              5 verbose stack     at lockVerify.then (/usr/lib/node_modules/npm/lib/audit.js:163:19)
              5 verbose stack     at <anonymous>
              6 verbose cwd /opt/iobroker
              7 verbose Linux 3.10.105
              8 verbose argv "/usr/bin/node" "/usr/bin/npm" "audit" "fix"
              9 verbose node v8.14.0
              10 verbose npm  v6.5.0
              11 error code ELOCKVERIFY
              12 error Errors were found in your package-lock.json, run  npm install  to fix them.
              12 error     Invalid: lock file's iobroker.admin@3.4.7 does not satisfy iobroker.admin@^3.5.10
              12 error     Invalid: lock file's iobroker.discovery@1.2.1 does not satisfy iobroker.discovery@^1.2.4
              12 error     Missing: iobroker.fritzdect@https://github.com/foxthefox/ioBroker.fritzdect/tarball/master
              13 verbose exit [ 1, true ]</anonymous>
              

              Sollte ich hier was unternehmen?

              Desweiteren bringt er ein Fehler beim Update von Amazon Dash von 0.2.9 auf .0.3.1:

              $ ./iobroker upgrade amazon-dash
              Update amazon-dash from @0.2.9 to @0.3.1
              NPM version: 6.5.0
              npm install iobroker.amazon-dash@0.3.1 --production --save --prefix "/opt/iobroker" (System call)
              
              WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
              
              E: Sperrdatei /var/lib/dpkg/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, sind Sie root?
              
              gyp WARN EACCES user "undefined" does not have permission to access the dev dir "/root/.node-gyp/8.14.0"gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/pcap/.node-gyp"
              
              gyp WARN install got an error, rolling back installgyp WARN install got an error, rolling back install
              gyp ERR! configure error 
              gyp ERR! stack Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/pcap/.node-gyp'
              gyp ERR! System Linux 3.10.105
              gyp 
              ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd
               /opt/iobroker/node_modules/pcapgyp ERR! node -v v8.14.0
              gyp ERR!
               node-gyp -v v3.8.0gyp ERR! not ok 
              
              npm
               ERR! code ELIFECYCLEnpm ERR! errno 1
              
              npm ERR! pcap@2.1.0 install: `node-gyp rebuild`npm ERR! Exit status 1
              npm ERR! 
              npm ERR! Failed at the pcap@2.1.0 install 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!     /root/.npm/_logs/2018-12-18T08_48_45_502Z-debug.log
              ERROR: Cannot find io-package.json in null
              ERROR: process exited with code 10
              
              1 Antwort Letzte Antwort
              0
              • M Offline
                M Offline
                Mitch
                schrieb am zuletzt editiert von
                #7

                Hallo,

                ein npm update hat geholfen. Sollte npm update immer nor hpm install ausführen?

                Gruss,

                Mitch

                1 Antwort Letzte Antwort
                0
                Antworten
                • In einem neuen Thema antworten
                Anmelden zum Antworten
                • Älteste zuerst
                • Neuste zuerst
                • Meiste Stimmen


                Support us

                ioBroker
                Community Adapters
                Donate
                FAQ Cloud / IOT
                HowTo: Node.js-Update
                HowTo: Backup/Restore
                Downloads
                BLOG

                768

                Online

                32.5k

                Benutzer

                81.6k

                Themen

                1.3m

                Beiträge
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Anmelden

                • Du hast noch kein Konto? Registrieren

                • Anmelden oder registrieren, um zu suchen
                • Erster Beitrag
                  Letzter Beitrag
                0
                • Home
                • Aktuell
                • Tags
                • Ungelesen 0
                • Kategorien
                • Unreplied
                • Beliebt
                • GitHub
                • Docu
                • Hilfe