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.
    • 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
        • Gurke258
          Gurke258 @AlCalzone last edited by

          @AlCalzone

          Der Fehler scheint behoben zu sein, es war tatsächlich in in Javascripts eingetragen. Habe es gelöscht.

          Allerdings kann ich immer noch keine Adapter installieren:

          $ ./iobroker add daswetter  --host HomePi
          NPM version: 6.14.8
          npm install iobroker.daswetter@3.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
          npm
           ERR! code ELOOPnpm ERR! syscall accessnpm ERR! path /opt/iobroker/node_modules/iobroker.daswetternpm ERR! errno -40
          npm ERR! ELOOP: too many symbolic links encountered, access '/opt/iobroker/node_modules/iobroker.daswetter'
          npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-10-26T17_42_22_564Z-debug.log
          ERROR: host.HomePi Cannot install iobroker.daswetter@3.0.4: 216
          ERROR: process exited with code 25
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Gurke258 last edited by

            @Gurke258 sagte in Kann keinen Adapter installieren:

            code ELOOP

            npm -v
            which npm
            
            Gurke258 1 Reply Last reply Reply Quote 0
            • Gurke258
              Gurke258 @Thomas Braun last edited by

              @Thomas-Braun sagte in Kann keinen Adapter installieren:

              which npm

              pi@HomePi:~ $ npm -v
              6.14.8
              pi@HomePi:~ $ which npm
              /usr/bin/npm
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Gurke258 last edited by Thomas Braun

                @Gurke258
                Okay.

                Die ganze Nummer bitte:

                which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                

                Der Fehler kommt zustande, wenn Pakete/Module in falschen Verzeichnissen installiert werden. Passiert i.d.R. wenn da manuell was gemacht wird. Ich vermute, du hast da irgendwas doppelt installiert. Vielleicht global oder im ~ und im iobroker.

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

                  @Gurke258
                  @Thomas-Braun sagte in Kann keinen Adapter installieren:

                  Passiert i.d.R. wenn da manuell was gemacht wird.

                  ...und bei npm-Befehlen nicht in /opt/iobroker gewechselt wird

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

                    @Homoran sagte in Kann keinen Adapter installieren:

                    ...und bei npm-Befehlen nicht in /opt/iobroker gewechselt wird

                    Richtig.

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

                      @Thomas-Braun

                      Ich hab es jetzt hinbekommen.

                      Das problem war das der Ornder iobroker.daswetter in

                      cd /opt/iobroker/node_modules
                      

                      noch vorhanden war und rot. Habe ihn gelöscht mit

                      sudo rm -rf iobroker.daswetter
                      

                      und dann konnte ich den Adapter erneut installieren und auch andere adapter wieder installieren.

                      Vielen Dank an alle die mir geholfen haben 👍 🙂 🙂

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

                        @Gurke258
                        Besser nicht manuell da per 'npm' rummachen. Wenn da nicht die richtigen Verzeichnisse angesprochen werden zersägst du dir das System.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        929
                        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