Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Npm bemängelt security issues

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Npm bemängelt security issues

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

      Hallo zusammen,

      kürzlich bin ich auf das Ubuntu Release 18.04.1 LTS umgestiegen.

      Seitdem erzählt mir npm was von security issues und missing oder invalid lock files.

      Kann mir jemand helfen? Was muss ich tun, um das zu beheben?

      Danke und viele Grüße

      Alex

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'audit' ]
      2 info using npm@6.5.0
      3 info using node@v8.10.0
      4 verbose npm-session b53d1bf9c30b91b2
      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@2.0.4 does not satisfy iobroker.admin@^3.5.10
      5 verbose stack     Missing: iobroker.discovery@^1.2.4
      5 verbose stack     Invalid: lock file's iobroker.fhem@0.4.1 does not satisfy iobroker.fhem@https://github.com/ioBroker/ioBroker.fhem/tarball/master
      5 verbose stack     Missing: iobroker.find-my-iphone@^0.2.17
      5 verbose stack     Missing: iobroker.flot@^1.9.2
      5 verbose stack     Invalid: lock file's iobroker.geofency@0.1.6 does not satisfy iobroker.geofency@^0.3.2
      5 verbose stack     Invalid: lock file's iobroker.harmony@0.7.1 does not satisfy iobroker.harmony@^1.1.5
      5 verbose stack     Invalid: lock file's iobroker.hm-rega@1.6.5 does not satisfy iobroker.hm-rega@^2.0.0
      5 verbose stack     Invalid: lock file's iobroker.hm-rpc@1.4.14 does not satisfy iobroker.hm-rpc@^1.8.1
      5 verbose stack     Invalid: lock file's iobroker.hue@0.6.9 does not satisfy iobroker.hue@^1.1.0
      5 verbose stack     Invalid: lock file's iobroker.javascript@3.4.0 does not satisfy iobroker.javascript@^4.0.6
      5 verbose stack     Invalid: lock file's iobroker.js-controller@1.1.3 does not satisfy iobroker.js-controller@^1.5.3
      5 verbose stack     Missing: iobroker.netatmo@^1.3.1
      5 verbose stack     Invalid: lock file's iobroker.simple-api@1.6.0 does not satisfy iobroker.simple-api@^2.0.0
      5 verbose stack     Invalid: lock file's iobroker.socketio@1.8.2 does not satisfy iobroker.socketio@^2.1.1
      5 verbose stack     Missing: iobroker.sonos@^1.7.7
      5 verbose stack     Missing: iobroker.sony-bravia@^1.0.0
      5 verbose stack     Missing: iobroker.sql@^1.9.2
      5 verbose stack     Missing: iobroker.tankerkoenig@^1.0.4
      5 verbose stack     Missing: iobroker.vis@^1.1.8
      5 verbose stack     Missing: iobroker.vr200@^1.0.0
      5 verbose stack     Invalid: lock file's iobroker.web@2.1.3 does not satisfy iobroker.web@^2.4.1
      5 verbose stack     at lockVerify.then (/usr/local/lib/node_modules/npm/lib/audit.js:163:19)
      5 verbose stack     at <anonymous>6 verbose cwd /opt/iobroker/log
      7 verbose Linux 4.15.0-43-generic
      8 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "audit"
      9 verbose node v8.10.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@2.0.4 does not satisfy iobroker.admin@^3.5.10
      12 error     Missing: iobroker.discovery@^1.2.4
      12 error     Invalid: lock file's iobroker.fhem@0.4.1 does not satisfy iobroker.fhem@https://github.com/ioBroker/ioBroker.fhem/tarball/master
      12 error     Missing: iobroker.find-my-iphone@^0.2.17
      12 error     Missing: iobroker.flot@^1.9.2
      12 error     Invalid: lock file's iobroker.geofency@0.1.6 does not satisfy iobroker.geofency@^0.3.2
      12 error     Invalid: lock file's iobroker.harmony@0.7.1 does not satisfy iobroker.harmony@^1.1.5
      12 error     Invalid: lock file's iobroker.hm-rega@1.6.5 does not satisfy iobroker.hm-rega@^2.0.0
      12 error     Invalid: lock file's iobroker.hm-rpc@1.4.14 does not satisfy iobroker.hm-rpc@^1.8.1
      12 error     Invalid: lock file's iobroker.hue@0.6.9 does not satisfy iobroker.hue@^1.1.0
      12 error     Invalid: lock file's iobroker.javascript@3.4.0 does not satisfy iobroker.javascript@^4.0.6
      12 error     Invalid: lock file's iobroker.js-controller@1.1.3 does not satisfy iobroker.js-controller@^1.5.3
      12 error     Missing: iobroker.netatmo@^1.3.1
      12 error     Invalid: lock file's iobroker.simple-api@1.6.0 does not satisfy iobroker.simple-api@^2.0.0
      12 error     Invalid: lock file's iobroker.socketio@1.8.2 does not satisfy iobroker.socketio@^2.1.1
      12 error     Missing: iobroker.sonos@^1.7.7
      12 error     Missing: iobroker.sony-bravia@^1.0.0
      12 error     Missing: iobroker.sql@^1.9.2
      12 error     Missing: iobroker.tankerkoenig@^1.0.4
      12 error     Missing: iobroker.vis@^1.1.8
      12 error     Missing: iobroker.vr200@^1.0.0
      12 error     Invalid: lock file's iobroker.web@2.1.3 does not satisfy iobroker.web@^2.4.1</anonymous> 
      
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Die sind leider aktuell so. Nach welcher Anleitung hast finden neu installiert?

        Die „Security issues“ werden wir durch Library Updates pö a pö lösen …

        Gesendet vom Handy ...

        1 Reply Last reply Reply Quote 0
        • A
          aski71 last edited by

          Ah… gut zu wissen. Danke.

          Nach welcher Anleitung? Hm ... keine Ahnung. Eigentlich nach keiner.

          Ich habe einen do-release-upgrade gemacht und pö a pö alles wieder nachinstalliert, was auseinander gebrochen war. 😄

          Bei mir läuft jetzt node v8.10.0 mit npm 6.5.0.

          Scheint alles so weit zu funktionieren.

          1 Reply Last reply Reply Quote 0
          • P
            princecville last edited by

            Ich bin auf das gleiche / ein ähnliches Problem bei der Installation gestoßen. Habe die Log Datei ausgelesen:

            pi@raspberrypi:/ $ less /home/pi/.npm/_logs/2019-01-03T12_58_29_966Z-debug.log
            0 info it worked if it ends with ok
            1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'audit' ]
            2 info using npm@6.4.1
            3 info using node@v8.15.0
            4 verbose npm-session 84a971b6a65df28f
            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.js-controller@1.4.2 does not satisfy iobroker.js-controller@^1.5.3
            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 4.14.79-v7+
            8 verbose argv "/usr/bin/node" "/usr/bin/npm" "audit"
            9 verbose node v8.15.0
            10 verbose npm  v6.4.1
            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.js-controller@1.4.2 does not satisfy iobroker.js-controller@^1.5.3
            13 verbose exit [ 1, true ]</anonymous>
            

            ~

            hat sonst noch jemand Probleme beim neuaufsetzen von ioBroker? Ich komme seit mehreren Tagen nicht weiter…

            Installation habe ich gemäß der Anleitung gemacht: http://www.iobroker.net/docu/?page_id=8323&lang=de

            Bitte um Unterstützung

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

              Was genau sind denn deine Probleme?

              Nur die bemängelten Security issues? Dann bitte aktuell einfach ignorieren. Viele sind nicht relevant und kommen durch nicht ganz 100% aktuelle Dependecies oder auch ältere genutzte Pakete in irgendwelchen Adaptern …

              1 Reply Last reply Reply Quote 0
              • P
                princecville last edited by

                Ja, ich kann keine Backups durchführen. Siehe dazu mein thread von heute

                Gesendet von iPhone mit Tapatalk

                1 Reply Last reply Reply Quote 0
                • P
                  princecville last edited by

                  Thread: nach Neuinstallation ioBroker Backup funktioniert nicht

                  Gesendet von iPhone mit Tapatalk

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  596
                  Online

                  31.6k
                  Users

                  79.5k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  602
                  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