Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Hilfe: ich kriege IOBroker NICHT installiert

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Hilfe: ich kriege IOBroker NICHT installiert

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

      auf meinem neuen Raspi 3 versuche ich, iobroker nach dem Rezept unter

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

      zu installieren. Aber es klappt nicht. Alles funktioniert. node.js ist drauf. Und dann bricht die Installation bei

      "sudo npm install iobroker –unsafe-perm"

      ab. Hier die Fehlermeldung:

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/nodejs',
      1 verbose cli   '/usr/bin/npm',
      1 verbose cli   'install',
      1 verbose cli   'iobroker --unsafe-perm' ]
      2 info using npm@2.15.11
      3 info using node@v4.7.2
      4 verbose install initial load of /opt/iobroker/package.json
      5 verbose installManyTop reading scoped package data from /opt/iobroker/node_modules/iobroker/package.json
      6 verbose readDependencies loading dependencies from /opt/iobroker/package.json
      7 silly cache add args [ 'iobroker --unsafe-perm', null ]
      8 verbose cache add spec iobroker --unsafe-perm
      9 silly cache add parsed spec Result {
      9 silly cache add   raw: 'iobroker --unsafe-perm',
      9 silly cache add   scope: null,
      9 silly cache add   name: null,
      9 silly cache add   rawSpec: 'iobroker --unsafe-perm',
      9 silly cache add   spec: '/opt/iobroker/iobroker --unsafe-perm',
      9 silly cache add   type: 'local' }
      10 error addLocal Could not install /opt/iobroker/iobroker --unsafe-perm
      11 verbose stack Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker --unsafe-perm'
      11 verbose stack     at Error (native)
      12 verbose cwd /opt/iobroker
      13 error Linux 4.4.38-v7+
      14 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker --unsafe-perm"
      15 error node v4.7.2
      16 error npm  v2.15.11
      17 error path /opt/iobroker/iobroker --unsafe-perm
      18 error code ENOENT
      19 error errno -2
      20 error syscall open
      21 error enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker --unsafe-perm'
      21 error enoent This is most likely not a problem with npm itself
      21 error enoent and is related to npm not being able to find a file.
      22 verbose exit [ -2, true ]
      

      Was mache ich falsch? Was ist zu tun?

      Danke für Euere Hilfe!

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

        Hi,

        welche Antwort kommt bei

        node -v
        npm -v
        

        Du hast diese Schritte aus der Anleitung in dieser Reihenfolge ausgeführt?

        > Die alten node & node.js Versionen deinstallieren (bei Jessie Light nicht notwendig)

        apt-get --purge remove node
        apt-get --purge remove nodejs
        apt-get autoremove
        reboot
        

        > Node.js neu installieren für Raspbery 2/3

        curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
        sudo apt-get install -y build-essential python nodejs
        reboot
        

        > ioBroker installieren

        sudo mkdir /opt/iobroker
        sudo chmod 777 /opt/iobroker
        cd /opt/iobroker
        sudo npm install iobroker --unsafe-perm
        

        Gruß,

        Eric

        1 Reply Last reply Reply Quote 0
        • S
          skorpil last edited by

          Erstmal, Danke.

          welche Antwort kommt bei

          node -v
          npm -v
          

          Das:

          root@raspberrypi-3:~# node -v v4.7.2
          root@raspberrypi-3:~# npm -v 2.15.11
          

          Du hast diese Schritte aus der Anleitung in dieser Reihenfolge ausgeführt?

          Ja, exakt!

          > Die alten node & node.js Versionen deinstallieren (bei Jessie Light nicht notwendig)

          apt-get --purge remove node
          apt-get --purge remove nodejs
          apt-get autoremove
          reboot
          

          Ja

          > Node.js neu installieren für Raspbery 2/3

          curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
          sudo apt-get install -y build-essential python nodejs
          reboot
          

          Ja

          > ioBroker installieren

          sudo mkdir /opt/iobroker
          sudo chmod 777 /opt/iobroker
          cd /opt/iobroker
          sudo npm install iobroker --unsafe-perm
          

          Genau hier````
          sudo npm install iobroker --unsafe-perm

          
          Gruß
          
          Bernd
          1 Reply Last reply Reply Quote 0
          • Bluefox
            Bluefox last edited by

            Schreib mal per hand "npm i iobroker –unsafe-perm"

            npm denkt, dass dein Verzeichnis '/opt/iobroker/iobroker –unsafe-perm' heißt.

            Warum auch immer.

            1 Reply Last reply Reply Quote 0
            • S
              skorpil last edited by

              Hallo bluefox,

              Kann ich erst gleich testen. Bin nicht zu hause. Aber wo ist der Unterschied zwischen

              sudo npm install iobroker –unsafe-perm

              und

              npm i iobroker --unsafe-perm

              Sicher soll ich doch auch sudo und install anfügen. Oder?

              Bin nicht der Linux Crack. Daher bitte noch einmal Hilfe.

              Liebe Grüße

              Bernd

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

                @skorpil:

                Hallo bluefox,

                Kann ich erst gleich testen. Bin nicht zu hause. Aber wo ist der Unterschied zwischen

                sudo npm install iobroker –unsafe-perm

                und

                npm i iobroker --unsafe-perm

                Sicher soll ich doch auch sudo und install anfügen. Oder?

                Bin nicht der Linux Crack. Daher bitte noch einmal Hilfe.

                Liebe Grüße

                Bernd `
                Es gibt kein Unterschied. Ich vermute, dass du beim Kopieren vom Kommando irgendein Zeichen mitkopierst, was falsch interpretiert wird.

                1 Reply Last reply Reply Quote 0
                • S
                  skorpil last edited by

                  Das war es! Vielen Dank. Die manuelle Eingabe hat funktioniert. Auf der Website scheint es irgendein unsichtbares Zeichen zu geben, das den Fehler verursacht! Ich hatte ganz brav copy and paste gemacht. Und es kam zu dem Fehler.

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

                    @skorpil:

                    Auf der Website scheint es irgendein unsichtbares Zeichen zu geben, das den Fehler verursacht! `
                    WO?

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • S
                      skorpil last edited by

                      Ich vermute,in diesem Ausdruck

                      sudo npm install iobroker --unsafe-perm
                      

                      Denn da ist die Installation abgebrochen. Bluefox hatte den richtigen Verdacht.

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

                        @skorpil:

                        Ich vermute,in diesem Ausdruck `
                        Klar doch 🙂

                        Aber wo muss ich die Website korrigieren?

                        Gruß

                        Rainer

                        1 Reply Last reply Reply Quote 0
                        • S
                          skorpil last edited by

                          Schau mal: im ersten Post hatte ich die in Rede stehende Website gepostet. Hilft das?

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

                            Danke, seh ich mir an!

                            1 Reply Last reply Reply Quote 0
                            • G
                              galferiz last edited by

                              Moin nochmal.

                              wo liegt jetzt hier die Lösung?

                              Hab das selbe Problem:

                              Er schreibt:

                              root@raspberrypi:/opt/iobroker# npm i iobroker –unsafe-perm

                              -bash: npm: command not found

                              Ist alles per Hand eingegben?!

                              Danke und Gruß

                              PS: install geht auch nicht

                              1 Reply Last reply Reply Quote 0
                              • S
                                skorpil last edited by

                                Galferiz, schreib mal genau das, was ich in Post 9 geschrieben habe. Ganz genau. Und: schreiben, nicht kopieren. Dann geht es!

                                1 Reply Last reply Reply Quote 0
                                • S
                                  skorpil last edited by

                                  Also: das hier "sudo npm install iobroker –unsafe-perm"

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    galferiz last edited by

                                    root@raspberrypi:/opt/iobroker# sudo npm install iobroker –unsafe-perm

                                    sudo: npm: command not found

                                    emm - nope 😉

                                    läuft nicht

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      skorpil last edited by

                                      Du hast auch insatll geschrieben. Und nicht install. Versuch nochmal.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        galferiz last edited by

                                        alles probiert - 3. versuch,

                                        immer der selbe Fehler

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

                                          @galferiz:

                                          sudo: npm: command not found `
                                          Hast du denn nodejs incl. npm installiert?

                                          was sagt

                                          nodejs -v
                                          node -v
                                          npm -v
                                          

                                          Gruß

                                          Rainer

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            galferiz last edited by

                                            root@raspberrypi:/opt/iobroker# nodejs -v

                                            v0.10.29

                                            root@raspberrypi:/opt/iobroker# node -v

                                            -bash: node: command not found

                                            root@raspberrypi:/opt/iobroker# npm -v

                                            -bash: npm: command not found

                                            node - v hat er schon nicht bei der installation genommen

                                            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

                                            974
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            40
                                            6607
                                            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