Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Kann keinen Adapter installieren

    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 Kann keinen Adapter installieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Gurke258 last edited by

      @Gurke258 sagte in Kann keinen Adapter installieren:

      habe doch die neuste NPM bzw. Node Version.

      nein, du hast zwei parallele Installationen, mindestens eine davon falsch aufgesetzt!

      Wo das allerdings herkommt ist mir absolut schleierhaft.
      @Gurke258 sagte in Kann keinen Adapter installieren:

      Unsupported engine for blink@5.0.1: wanted: {"node":">=0.10.28 <0.12"}

      Was ist das für ein Modul das dermaßen veraltete node-Versionen verlangt?

      Gurke258 1 Reply Last reply Reply Quote 0
      • Gurke258
        Gurke258 @Homoran last edited by Gurke258

        @Homoran

        wo Kann ich das sehen welches Modul das ist? habe mich in letzter zeit mit den Adaptern aus diesem Thread beschäftigt:

        https://forum.iobroker.net/topic/23745/blink-camera-system

        @Homoran sagte in Kann keinen Adapter installieren:

        @Gurke258 sagte in Kann keinen Adapter installieren:

        habe doch die neuste NPM bzw. Node Version.

        nein, du hast zwei parallele Installationen, mindestens eine davon falsch aufgesetzt!

        Wie kann ich das rausfinden und deinstallieren?

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Gurke258 last edited by

          @Gurke258 sagte in Kann keinen Adapter installieren:

          wo Kann ich das sehen welches Modul das ist?

          steht doch da:

          @Homoran sagte in Kann keinen Adapter installieren:

          blink@5.0.1

          @Gurke258 sagte in Kann keinen Adapter installieren:

          habe mich in letzter zeit mit den Adaptern aus diesem Thread beschäftigt:

          kenne den Thread nicht, aber das modul blink dürfte nichts mit Kameras zu tun haben:
          Das von dir installierte Modul

          Blink converts Node.js modules into CSS and provides a CSS Authoring Framework, with BEM support.

          blink.png

          Gurke258 1 Reply Last reply Reply Quote 0
          • Gurke258
            Gurke258 @Homoran last edited by Gurke258

            @Homoran sagte in Kann keinen Adapter installieren:

            Das von dir installierte Modul

            Blink converts Node.js modules into CSS and provides a CSS Authoring Framework, with BEM support.

            blink.png

            Wie kann ich das wieder deistallieren?

            Edit:

            Wenn ich es Deinstallieren will, kommt folgende Meldung:

            pi@HomePi:~ $ npm uninstall blink
            npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
            npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
            npm WARN pi No description
            npm WARN pi No repository field.
            npm WARN pi No README data
            npm WARN pi No license field.
            
            audited 72 packages in 2.931s
            
            2 packages are looking for funding
              run `npm fund` for details
            
            found 0 vulnerabilities
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Gurke258 last edited by

              @Gurke258
              Du steht im falschen Verzeichnis.

              iobroker del blink
              

              oder

              cd /opt/iobroker
              npm uninstall blink
              
              Gurke258 1 Reply Last reply Reply Quote 0
              • Gurke258
                Gurke258 @Thomas Braun last edited by

                @Thomas-Braun sagte in Kann keinen Adapter installieren:

                npm uninstall blink

                Da bekomme ich folgende Fehlermeldung:

                pi@HomePi:/opt/iobroker $ iobroker del blink
                Delete adapter "blink"
                Error deleting adapter blink from disk: Error: Cannot find module 'iobroker.blink/io-package.json'
                Require stack:
                - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js
                - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                You might have to delete it yourself!
                pi@HomePi:/opt/iobroker $ npm uninstall blink
                npm ERR! code ELOOP
                npm ERR! syscall open
                npm ERR! path /opt/iobroker/node_modules/iobroker.daswetter/npm-shrinkwrap.json
                npm ERR! errno -40
                npm ERR! ELOOP: too many symbolic links encountered, open '/opt/iobroker/node_modules/iobroker.daswetter/npm-shrinkwrap.json'
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2020-10-22T18_25_07_907Z-debug.log
                
                

                Ich habe auch schon alle neu initiallisiert mit Tipps aus diesem Thread:

                https://forum.iobroker.net/topic/19897/node-js-update-ohne-adapter-neu-zu-installieren/17

                scheint aber auch nichts gebracht zu haben

                Gurke258 1 Reply Last reply Reply Quote 0
                • Gurke258
                  Gurke258 @Gurke258 last edited by Gurke258

                  Kann mir denn niemand helfen?

                  Habe alles kontrolliert nach diesem thread (https://forum.iobroker.net/topic/33791/kein-update-von-adapter-möglich/3), aber da war alles in Ordnung.

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

                    @Gurke258
                    mach mal das:

                    nodejs -v && node -v && npm -v
                    which nodejs && which node && which npm
                    

                    und poste das Ergebnis

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

                      @Jan1

                      pi@HomePi:/opt/iobroker $ nodejs -v && node -v && npm -v
                      v12.19.0
                      v12.19.0
                      6.14.8
                      pi@HomePi:/opt/iobroker $ which nodejs && which node && which npm
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      
                      
                      J 1 Reply Last reply Reply Quote 0
                      • J
                        Jan1 @Gurke258 last edited by

                        @Gurke258
                        Das sieht schon mal sauber aus.

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

                          @Jan1

                          Ja deswegen wundert es mich ja das es nicht geht

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

                            Mal mit Node 10 versucht?

                            Gurke258 1 Reply Last reply Reply Quote 0
                            • Gurke258
                              Gurke258 @wendy2702 last edited by

                              @wendy2702

                              nee noch nicht, aber das ändert doch nichts daran, das ich das beschriebene Modul (Blink@5.0.1) nicht finde bzw. nicht deinstallieren kann?

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Gurke258 last edited by Glasfaser

                                @Gurke258

                                lösche mal das Verzeichniss

                                /opt/iobroker/node_modules/iobroker.javascript/node_modules/blink
                                
                                AlCalzone 1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer @Glasfaser last edited by

                                  @Glasfaser Einfach so in node_modules was löschen macht keinen Sinn. Das kommt mit dem nächsten Update wieder.

                                  cd /opt/iobroker
                                  npm ls blink
                                  

                                  um herauszufinden, wo es mit drin hängt. Dann kann man gezielt im übergeordneten Verzeichnis npm uninstall blink aufrufen. Oder im Falle des Skript-Adapters, es aus den zusätzlichen Modulen entfernen.

                                  Homoran Glasfaser Gurke258 3 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @AlCalzone last edited by

                                    @AlCalzone sagte in Kann keinen Adapter installieren:

                                    Dann kann man gezielt im übergeordneten Verzeichnis npm uninstall blink aufrufen.

                                    Das ist wichtig, da wir bis heute nicht wissen wie und wo blink installiert wurde

                                    1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @AlCalzone last edited by

                                      @AlCalzone

                                      wurde ja alles schon im Thread gemacht ... gelöscht usw....

                                      dann habe ich diesen Vorschlag von Apollon77 gelesen ,
                                      https://github.com/ioBroker/ioBroker.javascript/issues/617

                                      fuzzyy0815 created this issue in ioBroker/ioBroker.javascript

                                      closed kein Update möglich von 4.16.17 -> 4.6.21 #617

                                      AlCalzone 1 Reply Last reply Reply Quote 0
                                      • AlCalzone
                                        AlCalzone Developer @Glasfaser last edited by

                                        @Glasfaser sagte in Kann keinen Adapter installieren:

                                        wurde ja alles schon im Thread gemacht ... gelöscht usw....

                                        Ja ne, eben nicht!

                                        Ich sehe

                                        • einmal npm uninstall blink im Home-Verzeichnis (wo iobroker sicher keine Module sucht).
                                        • einmal iobroker del blink, was den nicht existenten blink-Adapter löschen würde (wenn es ihn denn gäbe)

                                        Wie ich in meinem letzten Post geschrieben habe: erst mal herausfinden, wo genau das Modul herkommt. Dann kann man über weitere Schritte wie gezieltes Deinstallieren nachdenken. npm uninstall <paketname> wirkt nämlich immer nur im aktuellen Verzeichnis, nicht in Unterverzeichnissen.

                                        1 Reply Last reply Reply Quote 0
                                        • Gurke258
                                          Gurke258 @AlCalzone last edited by Gurke258

                                          @AlCalzone

                                          Also mit diesem Befehl bekomme ich folgende Meldung:

                                          pi@HomePi:/opt/iobroker $ npm ls blink
                                          iobroker.inst@2.0.3 /opt/iobroker
                                          └─┬ iobroker.javascript@4.8.4
                                            └── UNMET DEPENDENCY blink@^5.0.1
                                          
                                          npm ERR! missing: blink@^5.0.1, required by iobroker.javascript@4.8.4
                                          
                                          

                                          @Glasfaser sagte in Kann keinen Adapter installieren:

                                          @AlCalzone

                                          wurde ja alles schon im Thread gemacht ... gelöscht usw....

                                          dann habe ich diesen Vorschlag von Apollon77 gelesen ,
                                          https://github.com/ioBroker/ioBroker.javascript/issues/617

                                          Das hatte ich auch schon gefunden und gemacht.

                                          AlCalzone 1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer @Gurke258 last edited by AlCalzone

                                            @Gurke258 Hast du blink in den Adaptereinstellungen des Skript-Adapters eingetragen? 38e2e1a4-3bcc-47e0-af2b-7feafaa2c2b7-grafik.png
                                            Falls ja, entfernen und folgendes ausführen:

                                            cd /opt/iobroker/node_modules/iobroker.javascript
                                            npm uninstall blink
                                            

                                            Wenn das nicht hinhaut, hilft ggf. die Holzhammermethode:
                                            /opt/iobroker/node_modules/iobroker.javascript/package.json mit einem Editor öffnen und die Zeile "blink": "^5.0.1", löschen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            609
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter error node npm
                                            7
                                            29
                                            2784
                                            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