Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Warn mit Javascript 5.5.0

    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

    [gelöst] Warn mit Javascript 5.5.0

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

      Naja dann schauen wir ndoch mal was low level genau passiert

      cd /opt/iobroker und dann npm i iobroker.javascript@5.5.2

      was gibt das aus?

      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @apollon77 last edited by

        @apollon77

        da kommt was

        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
        npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/@iobroker/js-controller-cli/node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/mocha/node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        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.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/fsevents/package.json'
        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/socketwatcher/package.json'
        npm WARN http-cookie-agent@1.0.5 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.
        
        npm ERR! code ENOTSUP
        npm ERR! notsup Unsupported engine for dns@0.2.2: wanted: {"node":">= 0.10.0 < 0.11.0"} (current: {"node":"14.19.0","npm":"6.14.16"})
        npm ERR! notsup Not compatible with your version of node/npm: dns@0.2.2
        npm ERR! notsup Not compatible with your version of node/npm: dns@0.2.2
        npm ERR! notsup Required: {"node":">= 0.10.0 < 0.11.0"}
        npm ERR! notsup Actual:   {"npm":"6.14.16","node":"14.19.0"}
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-03-24T10_57_12_439Z-debug.log
        
        

        weiß nicht, ob da was drin ist


        Image 3.png

        mikeal created this issue in request/request

        open Request’s Past, Present and Future #3142

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @liv-in-sky last edited by

          @liv-in-sky sagte in [gelöst] Warn mit Javascript 5.5.0:

          dns

          Schau mal wo das hängt:

          cd /opt/iobroker 
          npm ls dns
          
          liv-in-sky 2 Replies Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @Thomas Braun last edited by liv-in-sky

            @thomas-braun

            weiß gar nicht ob ich das brauche

            Image 4.png

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Thomas Braun last edited by

              @thomas-braun
              @apollon77

              hab nur das gefunden - redis ?

              https://www.npmjs.com/package/dns

              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @liv-in-sky last edited by

                @liv-in-sky sagte in [gelöst] Warn mit Javascript 5.5.0:

                weiß garnicht, ob ich das brauche

                Ich auch nicht.
                Aber ich würde an deiner Stelle auch mal durch die zusätzlich installierten Module schauen. Die Dinger sorgen dafür, dass die Dependency Hell immer unübersichtlicher wird.

                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Thomas Braun last edited by liv-in-sky

                  @thomas-braun

                  gibt es einen befehl, damit ich rausfinde, ob eines meiner zusatzmodule eine dependency hat ?

                  Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @liv-in-sky last edited by Thomas Braun

                    @liv-in-sky

                    Interessant.
                    Was läuft denn bei dir auf
                    http://localhost:8053

                    Ich an deiner Stelle hätte jedenfalls ungern einen mir unbekannten DNS-Server in meinem Netz hängen...
                    Der dann auch seit Jahren nicht mehr gepflegt wird.
                    https://github.com/hbouvier/dns

                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Thomas Braun last edited by

                      @thomas-braun sagte in [gelöst] Warn mit Javascript 5.5.0:

                      http://localhost:8053

                      nichts

                      sudo lsof -i -P -n | grep LISTEN
                      ergibt keinen treffer !

                      dieses 53 erinnert mich an pihole

                      Image 5.png

                      1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @liv-in-sky last edited by

                        @liv-in-sky Naja du gibst diese Deps im Javascript Adapter direkt an??

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @apollon77 last edited by liv-in-sky

                          @apollon77 aber diese greifen wiederum auf andere dep zu - ich habe jetzt mal den großteil der zusätzlichen M. auf dieser npm seite nach depen. untersucht - da ist keine

                          es könnte schon mal sein, dass ich irgendwann mal was installiert hatte, was das dns modul gebraucht hat und dann beim deinstallieren, dass dns nicht deinstalliert hat

                          redis braucht das nicht ????

                          kann ich das irgendwie herausfinden, ob dieses dns module irgend ein anderes module braucht? auf meiner installation
                          ps: in node red ist auch nix angegeben

                          apollon77 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @liv-in-sky last edited by

                            @liv-in-sky mach mal das "npm list dns" nochmal im Verzeichnis /opt/iobroekr/node_modules/iobroker.javascript/ Was kommt da als Ausgabe?

                            liv-in-sky 1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @apollon77 last edited by

                              @apollon77 sagte in [gelöst] Warn mit Javascript 5.5.0:

                              /opt/iobroekr/node_modules/iobroker.javascript/

                              Image 7.png

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @liv-in-sky last edited by

                                @liv-in-sky dann komtmdas aber auch da von keinem anderen paket. Kann mal (im Verzeichnis /opt/iobroekr/node_modules/iobroker.javascript/ !!!) ein "npm uninstall dns" machen ... dann javascript restarten ... wenns von nem angegebene Paket kam dann wäre es nach dem start wieder da 🙂 So kannste kontrollieren

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @apollon77 last edited by

                                  @apollon77
                                  @Thomas-Braun
                                  habe es "rausgeschmissen" - jetzt ist 5.5.2 installiert

                                  • habe alte zusätzliche npm's deinstalliert
                                  • dns.0.2.2 ist nicht mehr gekommen
                                  • keine fehler eim start im log

                                  vielen dank an euch beide !

                                  @apollon77

                                  noch eine frage: meine scripte werden nach /opt/iobroker/scripte-backup gespiegelt - das müßte doch noch laufen und in ordnung sein ?

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @liv-in-sky last edited by

                                    @liv-in-sky sagte in [gelöst] Warn mit Javascript 5.5.0:

                                    noch eine frage: meine scripte werden nach /opt/iobroker/scripte-backup gespiegelt - das müßte doch noch laufen und in ordnung sein ?

                                    Das sollte erlaubt sein. Schau doch mal ins Log. Wenn nicht dann würde er beim JavaScritpt adapter start zwei zeilen "error" loggen

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @apollon77 last edited by

                                      @apollon77 ne - ist mir nix aufgefallen

                                      nochmals danke

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      545
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      6
                                      47
                                      1316
                                      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