Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [Gelöst] Probleme nach installation eines adapters

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [Gelöst] Probleme nach installation eines adapters

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

      Welche Node Version nutzt du bzw. noch wichtiger welche NPM Version?

      "npm -v"

      Ich hatte das gleiche Problem als ich mit Node 8 (kommt mit NPM 5) angefangen hab.

      Scheinbar unterstützt iobroker NPM 5 noch nicht wirklich.

      Ich bin dann zu Node 6 zurück und dort funktioniert das ganze mit NPM 3 ohne probleme…

      NPM 5 legt die Ordner im node_modules in einer anderen Struktur an und das macht hier wohl probleme.

      1 Reply Last reply Reply Quote 0
      • E
        eXplOiD last edited by

        @Dutchman:

        @eXplOiD:

        mit nmp install iobroker `

        ok das ist aber nicht notwendig, als erstes installiert man iobroker wen das einmal drauf ist faengt man an adapter zu installieren und nicht nochmal iobroker !

        z.b. auf der console :

        cd /opt/iobroker
        sudo iobroker add flot
        
        

        im flot zu installieren, am einfachsten aber ueber das + im admin (im reiter adapter) `

        das habe ich versucht aber über die console kommt das selbe

        ich würde auch nicht versuchen iobroker neu aufzuspielen wenn ich eine lösung für das problem hätte bei mir löscht sich immer wieder der iobroker.js-controller

        root@homeserver:/mnt/iobroker# sudo iobroker add flot
        npm install iobroker.flot --production --prefix "/mnt/iobroker" (System call)
        npm ERR! path /mnt/iobroker/node_modules/npm/node_modules/ansistyles
        npm ERR! code ENOENT
        npm ERR! errno -2
        npm ERR! syscall rename
        npm ERR! enoent ENOENT: no such file or directory, rename '/mnt/iobroker/node_modules/npm/node_modules/ansistyles' -> '/mnt/iobroker/node_modules/npm/node_modules/.ansistyles.DELETE'
        npm ERR! enoent This is related to npm not being able to find a file.
        npm ERR! enoent
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2018-01-04T15_49_08_856Z-debug.log
        host.homeserver Cannot install iobroker.flot: 254
        root@homeserver:/mnt/iobroker#
        
        
        1 Reply Last reply Reply Quote 0
        • Dutchman
          Dutchman Developer Most Active Administrators last edited by

          dein installations verzeichnis ist wirklich "/mnt/iobroker" (das waehre ziemlich ungewoehnlich !).

          Bitte auch mal posten welche node und NPM version du hast:

          node -v
          npm -v
          
          
          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @Wolfspirit:

            Ich hatte das gleiche Problem als ich mit Node 8 (kommt mit NPM 5) angefangen hab.

            Scheinbar unterstützt iobroker NPM 5 noch nicht wirklich.

            Ich bin dann zu Node 6 zurück und dort funktioniert das ganze mit NPM 3 ohne probleme…

            NPM 5 legt die Ordner im node_modules in einer anderen Struktur an und das macht hier wohl probleme. `
            Das ist auch sein Problem
            @eXplOiD:

            278 verbose node v8.8.0

            279 verbose npm  v5.6.0 `

            Npm 5.x funktioniert nicht

            Gruß Rainer

            1 Reply Last reply Reply Quote 0
            • E
              eXplOiD last edited by

              @Dutchman:

              dein installations verzeichnis ist wirklich "/mnt/iobroker" (das waehre ziemlich ungewoehnlich !).

              Bitte auch mal posten welche node und NPM version du hast:

              node -v
              npm -v
              
              ```` `  
              

              Richtig ich habe iobroker auf meiner 2ten festplatte installiert deswegen mnt dort habe ich meine 2te platte eingebunden.

              root@homeserver:/mnt/iobroker# node -v

              v8.8.0

              root@homeserver:/mnt/iobroker# npm -v

              5.6.0

              1 Reply Last reply Reply Quote 0
              • ldittmar
                ldittmar Developer last edited by

                Mit Node 8 und NPM 5 gibt es Probleme. Mach die Node 6 drauf… ich nutze Node 6 mit NPM 3.

                1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators last edited by

                  @eXplOiD:

                  Richtig ich habe iobroker auf meiner 2ten festplatte installiert deswegen mnt dort habe ich meine 2te platte eingebunden.

                  root@homeserver:/mnt/iobroker# node -v

                  v8.8.0

                  root@homeserver:/mnt/iobroker# npm -v

                  5.6.0 `

                  Ok, das macht sin

                  bitte NPM downgraden ! version 5 macht probleme

                  sudo npm install -g npm@4
                  
                  1 Reply Last reply Reply Quote 0
                  • E
                    eXplOiD last edited by

                    root@homeserver:/mnt/iobroker# npm -v

                    4.6.1

                    root@homeserver:/mnt/iobroker# node -v

                    v8.8.0

                    ich teste es jetzt mal

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

                      Nach welcher Anleitung hast du installiert?

                      Nach der offiziellen Doku

                      http://www.iobroker.net/docu/?page_id=5106&lang=de

                      Soll node 6 installiert werden. Und da ist npm 3 dabei

                      1 Reply Last reply Reply Quote 0
                      • E
                        eXplOiD last edited by

                        es scheint jetzt zu funktionieren

                        ich habe es zuerst mit dem installationsscript installiert was es im forum gibt

                        1 Reply Last reply Reply Quote 0
                        • E
                          eXplOiD last edited by

                          es funktioniert offensichtlich wieder vielen dank an alle die mir geholfen haben sollte nochmal was in die richtung auftreten melde ich mich hier.

                          1 Reply Last reply Reply Quote 0
                          • Dutchman
                            Dutchman Developer Most Active Administrators last edited by

                            @eXplOiD:

                            es funktioniert offensichtlich wieder vielen dank an alle die mir geholfen haben sollte nochmal was in die richtung auftreten melde ich mich hier. `

                            dafuer ist das forum da :), thread dan bitte auf geloest setzen problem war also NPM 5 bei dir 🙂

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            678
                            Online

                            31.6k
                            Users

                            79.5k
                            Topics

                            1.3m
                            Posts

                            5
                            20
                            1233
                            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