Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker kann auf neuem raspi3 nicht mehr installiert werden

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Iobroker kann auf neuem raspi3 nicht mehr installiert werden

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      iobroker-6043 last edited by

      Hallo community

      Hab mir einen zweiten raspi3 zugelegt und wollte iobroker neu installieren.

      Wie schon zuvor mit der Anleitung auf iobroker.net.

      –> Raspberry PI Schnellstart (Jessie)

      Erhalte diese Fehlermeldungen :

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

      iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

      node lib/setup.js

      sh: 1: node: not found

      npm WARN This failure might be due to the use of legacy binary "node"

      npm WARN For further explanations, please read

      /usr/share/doc/nodejs/README.Debian

      npm ERR! iobroker@0.7.1 install: node lib/setup.js

      npm ERR! Exit status 127

      npm ERR!

      npm ERR! Failed at the iobroker@0.7.1 install script.

      npm ERR! This is most likely a problem with the iobroker package,

      npm ERR! not with npm itself.

      npm ERR! Tell the author that this fails on your system:

      npm ERR! node lib/setup.js

      npm ERR! You can get their info via:

      npm ERR! npm owner ls iobroker

      npm ERR! There is likely additional logging output above.

      npm ERR! System Linux 4.4.13-v7+

      npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"

      npm ERR! cwd /opt/iobroker

      npm ERR! node -v v0.10.29

      npm ERR! npm -v 1.4.21

      npm ERR! code ELIFECYCLE

      npm ERR!

      npm ERR! Additional logging details can be found in:

      npm ERR! /opt/iobroker/npm-debug.log

      npm ERR! not ok code 0

      root@raspberrypi01:/opt/iobroker# ls

      node_modules npm-debug.log

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

        Da steht doch, dass Node nicht gefunden ist.

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

          @iobroker-6043:

          npm ERR! node -v v0.10.29

          npm ERR! npm -v 1.4.21

          npm ERR! code ELIFECYCLE `
          Die alte Version von node.js deinstalliert und Version 4.x installiert ?

          Auszug aus der Anleitung:
          ` > Kernel Update: sudo apt-get update && sudo apt-get upgrade

          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

          als Root über Putty anmelden

          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-rpi.gpio nodejs

          reboot `

          1 Reply Last reply Reply Quote 0
          • I
            iobroker-6043 last edited by

            Ja das sind die Befehle, hat bis vor zwei Wochen geklappt. warum wird den nodejs nicht installiert ?

            sudo apt-get update && sudo apt-get upgrade

            curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -

            sudo apt-get install -y build-essential python-rpi.gpio nodejs

            reboot

            sudo mkdir /opt/iobroker

            sudo chmod 777 /opt/iobroker

            cd /opt/iobroker

            sudo npm install iobroker –unsafe-perm

            Installiert ist Jessie Light

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

              Die alte Version 0.10.29 hast Du als user "root" deinstalliert bevor Du die neue Version 4.4.7 als user "root" installiert hast ?

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

                @iobroker-6043:

                Ja das sind die Befehle, hat bis vor zwei Wochen geklappt. warum wird den nodejs nicht installiert ?

                sudo apt-get update && sudo apt-get upgrade

                curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -

                sudo apt-get install -y build-essential python-rpi.gpio nodejs

                reboot

                sudo mkdir /opt/iobroker

                sudo chmod 777 /opt/iobroker

                cd /opt/iobroker

                sudo npm install iobroker –unsafe-perm

                Installiert ist Jessie Light `
                ich denke, dass node.js ist schon installiert, aber "node" alias existiert nicht.

                sudo ln -s /usr/local/bin/nodejs /usr/bin/node
                
                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

                493
                Online

                32.0k
                Users

                80.6k
                Topics

                1.3m
                Posts

                3
                6
                1631
                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