Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. WARN optional SKIPPING OPTIONAL DEPENDENCY

    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

    WARN optional SKIPPING OPTIONAL DEPENDENCY

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Jeek last edited by

      @jeek sagte in WARN optional SKIPPING OPTIONAL DEPENDENCY:

      Was mache ich falsch?

      Bilder statt Text (in CodeTags) posten, z. B .

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

        @thomas-braun

        oki

        root@XXX-IoBroker:/opt/iobroker# npm ls | grep -E 'github|ERR'
        ├─┬ iobroker.icons-icons8@0.0.1 (github:ioBroker/ioBroker.icons-icons8#c0fcc9a6aa79b281951215cf86726f45622c8409)
        ├─┬ iobroker.icons-open-icon-library-png@0.1.3 (github:ioBroker/ioBroker.icons-open-icon-library-png#0847a79d713ee6725ccb6ccfb044c025b73ec946)
        │ │ │ ├── github-from-package@0.0.0
        npm ERR! extraneous: npm /opt/iobroker/node_modules/npm
        npm ERR! error in /opt/iobroker/node_modules/npm: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/npm/package.json'
        npm ERR! extraneous: node-aead-crypto@2.1.4 /opt/iobroker/node_modules/node-aead-crypto
        npm ERR! extraneous: mocha /opt/iobroker/node_modules/iobroker.javascript/node_modules/mocha
        npm ERR! error in /opt/iobroker/node_modules/iobroker.javascript/node_modules/mocha: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/node_modules/mocha/package.json'
        npm ERR! extraneous: fsevents@1.2.13 /opt/iobroker/node_modules/iobroker.javascript/node_modules/fsevents
        npm ERR! extraneous: prebuild-install@7.1.1 /opt/iobroker/node_modules/serialport/node_modules/prebuild-install
        ├─┬ iobroker.life360@0.2.18 (github:MiGoller/ioBroker.life360#56ba15fa07202fdfa5c99420deaa03829e1a8178)
        ├─┬ iobroker.nuki@1.6.0 (github:smaragdschlange/ioBroker.nuki#c73ea9cb3954e75b406e1965ab83eb7d712b0c43)
        │ ├─┬ samsungtv@0.0.0 (git+https://git@github.com/luca-saggese/samsungtv.git#7fc20107455414e2afb94022682e0787e8635550)
        │   ├── github-url-from-git@1.5.0
        │   ├─┬ new-github-release-url@1.0.0
        │ │ │ │   ├── github-from-package@0.0.0
        

        Hier das ist der Tree nachdem er schon mehrfach bereinigt wurde. Was muss ich nun machen?

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

          @jeek

          Nicht als root herumeiern.

          Dann hast du mal irgendwann, aus welchen Gründen auch immer, offenbar npm in die ioBroker-Installation geklatscht. Warum?

          Und warum installierst du 'nuki' aus dem github und nicht ordentlich aus einem Repo?

          Die Meldungen mit WARN sind keine Fehler, lediglich Hinweise.

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

            @thomas-braun

            Das ist eine gute Frage. Wie werde ich es wieder los?
            Auch wenn ich Nuki von NPM installiere kommt die Meldung

            install iobroker.nuki
            
            Installing iobroker.nuki... (System call)
            
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
            
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/npm/package.json'
            
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/npm/node_modules/libnpmdiff/package.json'
            
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.javascript/node_modules/mocha/package.json'
            
            + iobroker.nuki@1.6.0updated 1 package in 297.942s
            
            upload [2] nuki.admin /opt/iobroker/node_modules/iobroker.nuki/admin/index_m.html index_m.html text/html
            
            upload [1] nuki.admin /opt/iobroker/node_modules/iobroker.nuki/admin/nuki-logo.png nuki-logo.png image/png
            
            upload [0] nuki.admin /opt/iobroker/node_modules/iobroker.nuki/admin/words.js words.js application/javascript
            
            Process exited with code 0
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Jeek last edited by

              @jeek

              Wie gesagt: Sind nur HINWEISE, keine Fehler. Die Installation läuft ja auch durch.

              Du hast aber offenbar an anderer Stelle ein Thema.

              Was sagt:

              sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
              
              uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              
              J 1 Reply Last reply Reply Quote 0
              • J
                Jeek @Thomas Braun last edited by

                @thomas-braun

                Ja, aber der Adapter installiert sich nicht.

                x86_64
                Kein Docker
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                v14.21.1
                v14.21.1
                6.14.17
                4.0.23
                root
                root
                
                
                /root
                OK:1 http://security.debian.org/debian-security stretch/updates InRelease
                Ign:2 http://ftp.de.debian.org/debian stretch InRelease
                OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease
                OK:4 http://ftp.de.debian.org/debian stretch Release
                OK:5 https://deb.nodesource.com/node_14.x stretch InRelease
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.       
                Statusinformationen werden eingelesen.... Fertig
                Alle Pakete sind aktuell.
                nodejs:
                  Installiert:           14.21.1-1nodesource1
                  Installationskandidat: 14.21.1-1nodesource1
                  Versionstabelle:
                 *** 14.21.1-1nodesource1 500
                        500 https://deb.nodesource.com/node_14.x stretch/main amd64 Packages
                        100 /var/lib/dpkg/status
                     4.8.2~dfsg-1 500
                        500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Jeek last edited by Thomas Braun

                  @jeek

                  Und hier ist dann auch Schluss, wenn du dich nicht sofort als root abmeldest.
                  Und das schon zweimal gestorbene Debian Stretch nicht endlich unter die Erde bringst.

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

                    @thomas-braun
                    Neuer User angelegt. Sry.

                    Ja, muss ich die Tage mal upgraden.

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

                      @jeek sagte in WARN optional SKIPPING OPTIONAL DEPENDENCY:

                      Ja, muss ich die Tage mal upgraden.

                      Dann mach das und dann kommst du nochmal mit einem aktuellen Betriebssystem vorbei.

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

                        @thomas-braun

                        So erledigt

                        x86_64
                        Kein Docker
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v16.18.1
                        v16.18.1
                        8.19.2
                        4.0.23
                        XXX
                        XXX
                        tty
                        
                        /opt/iobroker
                        OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                        OK:2 http://deb.debian.org/debian bullseye InRelease                                    
                        OK:3 http://deb.debian.org/debian bullseye-updates InRelease                            
                        OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease                            
                        Paketlisten werden gelesen… Fertig                              
                        Abhängigkeitsbaum wird aufgebaut… Fertig
                        Statusinformationen werden eingelesen… Fertig
                        Alle Pakete sind aktuell.
                        nodejs:
                          Installiert:           16.18.1-deb-1nodesource1
                          Installationskandidat: 16.18.1-deb-1nodesource1
                          Versionstabelle:
                         *** 16.18.1-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                                100 /var/lib/dpkg/status
                             12.22.12~dfsg-1~deb11u1 500
                                500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
                             12.22.5~dfsg-2~11u1 500
                                500 http://deb.debian.org/debian bullseye/main amd64 Packages
                        

                        Wie gehts weiter?^^

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

                          @jeek

                          Vollständige Ein- und die unveränderten Ausgaben posten, inkl. Login prompt

                          J 2 Replies Last reply Reply Quote 0
                          • J
                            Jeek @Thomas Braun last edited by

                            @thomas-braun
                            Habe nur den verwendeten Name durch XXX geändert (Name wollte ich nicht öffentlich hier rein setzen). Aber keine Sorge bin nicht mehr mit Root angemeldet.

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

                              @thomas-braun
                              Hey, wie gehts weiter?^^

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

                                @jeek

                                Womit?

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

                                  @thomas-braun
                                  Naja, bezüglich meinem Problem. Es ist leider noch nicht behoben. Ich kann immer noch keine Apps installieren. 😞

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

                                    @jeek

                                    Mit welchen Meldungen?

                                    iobroker update
                                    iobroker upgrade all --debug
                                    
                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jeek @Thomas Braun last edited by

                                      @thomas-braun

                                      Used repository: stable
                                      Adapter    "admin"        : 6.2.23   , installed 6.2.23
                                      Adapter    "alexa2"       : 3.21.0   , installed 3.21.0
                                      Adapter    "backitup"     : 2.5.4    , installed 2.5.4
                                      Adapter    "bring"        : 1.8.1    , installed 1.8.1
                                      Adapter    "cloud"        : 4.2.2    , installed 4.2.2
                                      Adapter    "coronavirus-statistics": 0.8.7, installed 0.8.7
                                      Adapter    "device-reminder": 1.2.9  , installed 1.2.9
                                      Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                      Adapter    "fb-checkpresence": 1.1.20, installed 1.1.20
                                      Adapter    "flot"         : 1.11.0   , installed 1.11.0
                                      Adapter    "fritzbox"     : 0.2.1    , installed 0.5.0
                                      Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                                      Adapter    "history"      : 2.2.0    , installed 2.2.0
                                      Adapter    "hmip"         : 1.18.0   , installed 1.18.0
                                      Adapter    "hue"          : 3.7.1    , installed 3.7.1
                                      Adapter    "ical"         : 1.13.1   , installed 1.13.1
                                      Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
                                      Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                      Adapter    "influxdb"     : 3.1.8    , installed 3.1.8
                                      Adapter    "info"         : 1.9.19   , installed 1.9.22
                                      Adapter    "iot"          : 1.11.9   , installed 1.11.9
                                      Adapter    "iqontrol"     : 2.0.0    , installed 2.0.1
                                      Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                                      Controller "js-controller": 4.0.23   , installed 4.0.23
                                      Adapter    "linux-control": 1.1.3    , installed 1.1.3
                                      Adapter    "mihome-vacuum": 3.8.6    , installed 3.8.6
                                      Adapter    "netatmo"      : 2.0.5    , installed 2.0.5
                                      Adapter    "nuki"         : 1.6.0    , installed 1.6.0
                                      Adapter    "parser"       : 1.1.8    , installed 1.1.8
                                      Adapter    "proxmox"      : 1.3.4    , installed 1.3.4
                                      Adapter    "samsung"      : 0.5.8    , installed 0.5.11
                                      Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                      Adapter    "shelly"       : 6.0.0    , installed 6.0.0
                                      Adapter    "simple-api"   : 2.7.0    , installed 2.7.2
                                      Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                                      Adapter    "spotify-premium": 1.2.1  , installed 1.2.2
                                      Adapter    "sql"          : 2.1.8    , installed 2.1.8
                                      Adapter    "telegram"     : 1.14.1   , installed 1.14.1
                                      Adapter    "text2command" : 2.2.2    , installed 2.2.2
                                      Adapter    "tr-064"       : 4.2.16   , installed 4.2.17
                                      Adapter    "tradfri"      : 3.1.3    , installed 3.1.3
                                      Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                      Adapter    "tuya"         : 3.9.4    , installed 3.9.4
                                      Adapter    "tvspielfilm"  : 2.0.4    , installed 2.0.4
                                      Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                      Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                                      Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                                      Adapter    "vis-icontwo"  : 0.89.0   , installed 0.89.0
                                      Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.3
                                      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                                      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                                      Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
                                      Adapter    "web"          : 4.3.0    , installed 4.3.0
                                      Adapter    "ws"           : 1.3.0    , installed 1.3.0
                                      Adapter    "zigbee"       : 1.7.6    , installed 1.7.6
                                      

                                      All adapters are up to date

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

                                        @jeek

                                        Vollständig. Inkl. Login prompt.

                                        Und wo ist jetzt konkret dein Problem?

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

                                        Support us

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

                                        615
                                        Online

                                        31.9k
                                        Users

                                        80.2k
                                        Topics

                                        1.3m
                                        Posts

                                        2
                                        19
                                        473
                                        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