Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Diskussion zum HowTo nodejs-Installation und upgrade

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Diskussion zum HowTo nodejs-Installation und upgrade

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @HGlab last edited by Thomas Braun

      @hglab

      Du fährst aber einen Mix aus ubuntu/bionic und debian/bullseye.
      Stell das richtig!

      H 1 Reply Last reply Reply Quote 0
      • mcm1957
        mcm1957 @HGlab last edited by

        @hglab
        Da das Exit 25 Thema derzeit - sowit ich weiß - noch untersucht wird, darf ich dir ein paar Fragen stellen?
        -) Hattest du bei der Installation (Upgrade) irgendwelche Auffälligkeiten. Gab es z.B. Netzwerkprobleme / TCP Resets oder ähnliches?
        -) Hast du ev. in mehreren Sessions irgendwas gemacht während des Upgrades?
        -) War der ioBroker während des Upgrades gestoppt?

        H 1 Reply Last reply Reply Quote 0
        • H
          HGlab @mcm1957 last edited by

          @mcm57

          -) Hattest du bei der Installation (Upgrade) irgendwelche Auffälligkeiten. Gab es z.B. Netzwerkprobleme / TCP Resets oder ähnliches? --> nein, keine Auffälligkeiten
          -) Hast du ev. in mehreren Sessions irgendwas gemacht während des Upgrades? --> nein
          -) War der ioBroker während des Upgrades gestoppt? --> ja, war gestoppt

          mcm1957 1 Reply Last reply Reply Quote 0
          • mcm1957
            mcm1957 @HGlab last edited by

            @hglab
            Danke

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

              @thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:

              bionic

              danke, updated

              #node 16
              deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bionic  main
              deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bionic main
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • H
                HGlab @Glasfaser last edited by

                @glasfaser
                worked! Danke für den raschen Support!

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

                  @hglab

                  Die Quelle für 14 auch angepasst oder hast du die komplett rausgekickt?

                  H mac89muc 2 Replies Last reply Reply Quote 0
                  • H
                    HGlab @Thomas Braun last edited by

                    @thomas-braun
                    ebenso angepasst 😉

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

                      @thomas-braun

                      ich habe meinen iobroker auf einem Macmini mit macOS Mojave laufen.
                      Die Installation von iobroker auf einem Mac ist ja eh schon etwas komplizierter, da sich die Installation was Pfade und Benutzer angeht von der linux Installation unterscheiden.
                      Ich habe node aktualisiert auf 16.17.0 inkl. NPM auf 8.15.0 - mittels des entsprechenden Installationspaketes von nodejs.org

                      Im iob wird mir die korrekte Version angezeigt, ebenso wenn ich im Terminal node -v bzw. npm -v eingebe.

                      Der iob läuft auch soweit, allerdings kann ich keine Updates mehr machen - die werden mir unter Adapter oder Info angezeigt, ich kann die Updates durchführen ohne Fehlermeldung allerdings tauchen die dann wieder unter Updates auf.

                      Jetzt habe ich recherchiert, dass das häufig mit einem Node Update bzw. einem falschen Node update zusammenhängt.
                      Da ich ja mit macOS unterwegs bin ist es leider für mich nicht ganz so einfach eine step by step Anleitung dazu zu finden. NPM und Node werden unter macOS z.B. automatisiert unter /usr/local/bin installiert mit dem Installer - wie bekomme ich die an die richtige Stelle - oder ist das Verzeichnis /usr/bin nur für linux Installationen das richtige?

                      Viele Grüße

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

                        @mac89muc

                        Ich kenne mich mit Mäc null aus. Aber soweit ich das weiß wird nodejs da unter /usr/local/bin installiert, nur unter (Debian)-Linux ist die Installation dort ein sicheres Zeichen für eine 'krumme Installation', das ordentliche Paket wird dort in /usr/bin entpackt.
                        Ich vermute auch eher, dass du mit diesem 'Phänomen' zu tun haben könntest:

                        https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

                        Ob der dort genannte Konsoleneinzeiler aber auf Macs funktioniert? Keine Ahnung...

                        mac89muc 2 Replies Last reply Reply Quote 0
                        • mac89muc
                          mac89muc @Thomas Braun last edited by mac89muc

                          @thomas-braun

                          Danke für die schnelle Antwort.

                          Habe meine Github Adapter alle mal entfernt nachdem ich gelesen habe, dass die u.U. Probleme machen können beim Node Update. Die Updates der updatefähigen regulären Adapter habe ich dann über das Terminal angestossen - jetzt hat es geklappt - installiere mir die Github Adapter jetzt wieder und dann mal sehen.

                          Gruß

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

                            @thomas-braun

                            Jetzt habe ich tatsächlich bei der Installation des esphome Git Adapters den Fehler 25.

                            $ iobroker url https://github.com/DrozmotiX/ioBroker.esphome.git --host smarthome.fritz.box --debug
                            install DrozmotiX/ioBroker.esphome#b6adb149202b81607fe1d726bbe7ffa6717d2352
                            Installing DrozmotiX/ioBroker.esphome#b6adb149202b81607fe1d726bbe7ffa6717d2352... (System call)
                            host.smarthome.fritz.box Cannot install DrozmotiX/ioBroker.esphome#b6adb149202b81607fe1d726bbe7ffa6717d2352: 1
                            ERROR: Process exited with code 25
                            

                            Der Einzeiler angepasst auf den macOS Pfad (/usr/local/...)

                            cd /usr/local/iobroker/node_modules && for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done
                            

                            hilft nicht - kommt find: illegal option -- t

                            Ist das die Thematik, oder ggf. was ganz anderes - hast Du evtl. sonst noch einen Tipp?
                            Bräuchte den esphome Adapter wieder ..

                            Danke & Gruß

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

                              @mac89muc sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                              illegal option -- t

                              Dann must du mal schauen, wie beim MÄC find die Optionen lauten.
                              -type d steht für ein Verzeichnis.
                              -iname für den Namen, unabhängig von Groß/Kleinschreibung

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

                                @thomas-braun

                                jetzt ist mein Latein am Ende - bin nicht so in der Kommandozeilenthematik ...

                                Hilft das hier weiter??

                                usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
                                       find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
                                
                                
                                S R 2 Replies Last reply Reply Quote 0
                                • S
                                  sticks @mac89muc last edited by sticks

                                  Hi, ich betreibe iobroker v6.2.20 auf einem Raspberry 4, Node.js: v16.17.0 und NPM: v8.15.0.
                                  Alles läuft einwandfrei, aber genau wie mac89muc kriege ich den ESPHOME-Adapter nicht installiert, Fehler 25.
                                  Also liegt es wohl nicht direkt an deiner MAC-Installation. (Den "Thomas Braun"-Einzeiler zum "Reste löschen" in node_modules hatte ich bei mir auch schon ohne Besserung durchlaufen lassen)

                                  Bis auf das ich den ESPHOME Adapter in meinem iobroker nicht installiert bekomme sind bei mir sonst keinerlei Probleme feststellbar.
                                  Bei Github bei den ESPHOME Issues findet man aber auch andere Betroffene, also Problem ist wohl bekannt. 😉

                                  Install-Log ESPHOME-Adapter:

                                  $ iobroker add esphome auto --host iobrokerpi --debug
                                  
                                  NPM version: 8.15.0
                                  
                                  Installing iobroker.esphome@0.2.4... (System call)
                                  
                                  npm ERR! code 1
                                  
                                  npm ERR! path /opt/iobroker/node_modules/iobroker.esphomenpm ERR! command failednpm ERR! command sh /tmp/install-fbbfef95.shnpm ERR! No python_modules directory; installing pip locally if needed.npm ERR! Successfully completed pip check.npm ERR! Collecting esphome>=2021.8npm ERR! Using cached esphome-2022.8.3-py2.py3-none-any.whl (2.3 MB)npm ERR! Collecting tornado>=3.2npm ERR! Using cached tornado-6.2.tar.gz (504 kB)npm ERR! Installing build dependencies: startednpm ERR! Installing build dependencies: finished with status 'done'npm ERR! Getting requirements to build wheel: startednpm ERR! Getting requirements to build wheel: finished with status 'done'npm ERR! Preparing metadata (pyproject.toml): startednpm ERR! Preparing metadata (pyproject.toml): finished with status 'done'npm ERR! Collecting tzdata>=2021.1npm ERR! Using cached tzdata-2022.2-py2.py3-none-any.whl (336 kB)npm ERR! Collecting PyYAML==6.0npm ERR! Using cached PyYAML-6.0.tar.gz (124 kB)npm ERR! Installing build dependencies: startednpm ERR! Installing build dependencies: finished with status 'done'npm ERR! Getting requirements to build wheel: startednpm ERR! Getting requirements to build wheel: finished with status 'done'npm ERR! Preparing metadata (pyproject.toml): startednpm ERR! Preparing metadata (pyproject.toml): finished with status 'done'npm ERR! Collecting platformio==6.0.2npm ERR! Using cached platformio-6.0.2.tar.gz (245 kB)npm ERR! Preparing metadata (setup.py): startednpm ERR! Preparing metadata (setup.py): finished with status 'done'npm ERR! Collecting pyserial==3.5npm ERR! Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)npm ERR! Collecting voluptuous==0.13.1npm ERR! Using cached voluptuous-0.13.1-py3-none-any.whl (29 kB)npm ERR! Collecting aioesphomeapi==10.11.0npm ERR! Using cached aioesphomeapi-10.11.0-py2.py3-none-any.whl (51 kB)npm ERR! Collecting zeroconf==0.39.0npm ERR! Using cached zeroconf-0.39.0-py3-none-any.whl (106 kB)npm ERR! Collecting tzlocal==4.2npm ERR! Using cached tzlocal-4.2-py3-none-any.whl (19 kB)npm ERR! Collecting kconfiglib==13.7.1npm ERR! Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)npm ERR! Collecting esptool==3.3.1npm ERR! Using cached esptool-3.3.1.tar.gz (213 kB)npm ERR! Preparing metadata (setup.py): startednpm ERR! Preparing metadata (setup.py): finished with status 'done'npm ERR! Collecting paho-mqtt==1.6.1npm ERR! Using cached paho-mqtt-1.6.1.tar.gz (99 kB)npm ERR! Preparing metadata (setup.py): startednpm ERR! Preparing metadata (setup.py): finished with status 'done'npm ERR! Collecting tornado>=3.2npm ERR! Using cached tornado-6.1.tar.gz (497 kB)npm ERR! Preparing metadata (setup.py): startednpm ERR! Preparing metadata (setup.py): finished with status 'done'npm ERR! Collecting esphome-dashboard==20220508.0npm ERR! Using cached esphome_dashboard-20220508.0-py3-none-any.whl (601 kB)npm ERR! Collecting click==8.1.3npm ERR! Using cached click-8.1.3-py3-none-any.whl (96 kB)npm ERR! Collecting colorama==0.4.5npm ERR! Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB)npm ERR! Collecting noiseprotocol<1.0,>=0.3.1npm ERR! Using cached noiseprotocol-0.3.1-py3-none-any.whl (20 kB)npm ERR! Collecting protobuf<4.0,>=3.12.2npm ERR! Downloading protobuf-3.20.2-py2.py3-none-any.whl (162 kB)npm ERR! ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.1/162.1 kB 835.1 kB/s eta 0:00:00npm ERR! Collecting bitstring>=3.1.6npm ERR! Using cached bitstring-3.1.9-py3-none-any.whl (38 kB)npm ERR! Collecting cryptography>=2.1.4npm ERR! Using cached cryptography-38.0.1.tar.gz (599 kB)npm ERR! Installing build dependencies: startednpm ERR! Installing build dependencies: finished with status 'error'npm ERR! error: subprocess-exited-with-errornpm ERR! npm ERR! × pip subprocess to install build dependencies did not run successfully.npm ERR! │ exit code: 1npm ERR! ╰─> [126 lines of output]npm ERR! Collecting setuptools!=60.9.0,>=40.6.0npm ERR! Using cached setuptools-65.3.0-py3-none-any.whl (1.2 MB)npm ERR! Collecting wheelnpm ERR! Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)npm ERR! Collecting cffi>=1.12npm ERR! Using cached cffi-1.15.1.tar.gz (508 kB)npm ERR! Preparing metadata (setup.py): startednpm ERR! Preparing metadata (setup.py): finished with status 'done'npm ERR! Collecting setuptools-rust>=0.11.4npm ERR! Using cached setuptools_rust-1.5.1-py3-none-any.whl (23 kB)npm ERR! Collecting pycparsernpm ERR! Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)npm ERR! Collecting semantic-version<3,>=2.8.2npm ERR! Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)npm ERR! Collecting typing-extensions>=3.7.4.3npm ERR! Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB)npm ERR! Building wheels for collected packages: cffinpm ERR! Building wheel for cffi (setup.py): startednpm ERR! Building wheel for cffi (setup.py): finished with status 'error'npm ERR! error: subprocess-exited-with-errornpm ERR! npm ERR! × python setup.py bdist_wheel did not run successfully.npm ERR! │ exit code: 1npm ERR! ╰─> [38 lines of output]npm ERR! /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.npm ERR! warnings.warn(msg, warning_class)npm ERR! running bdist_wheelnpm ERR! running buildnpm ERR! running build_pynpm ERR! creating buildnpm ERR! creating build/lib.linux-armv7l-cpython-39npm ERR! creating build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffi
                                  
                                  npm ERR! copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! running build_extnpm ERR! building '_cffi_backend' extensionnpm ERR! creating build/temp.linux-armv7l-cpython-39npm ERR! creating build/temp.linux-armv7l-cpython-39/cnpm ERR! arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/c/_cffi_backend.onpm ERR! c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directorynpm ERR! 2 | #include <Python.h>npm ERR! | ^~~~~~~~~~npm ERR! compilation terminated.npm ERR! error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1npm ERR! [end of output]npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.npm ERR! ERROR: Failed building wheel for cffinpm ERR! Running setup.py clean for cffinpm ERR! Failed to build cffinpm ERR! Installing collected packages: wheel, typing-extensions, setuptools, semantic-version, pycparser, setuptools-rust, cffinpm ERR! Running setup.py install for cffi: startednpm ERR! Running setup.py install for cffi: finished with status 'error'npm ERR! error: subprocess-exited-with-errornpm ERR! npm ERR! × Running setup.py install for cffi did not run successfully.npm ERR! │ exit code: 1npm ERR! ╰─> [40 lines of output]npm ERR! /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.npm ERR! warnings.warn(msg, warning_class)npm ERR! running installnpm ERR! /opt/iobroker/node_modules/iobroker.esphome/python_modules/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.npm ERR! warnings.warn(npm ERR! running buildnpm ERR! running build_pynpm ERR! creating buildnpm ERR! creating build/lib.linux-armv7l-cpython-39npm ERR! creating build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/commontypes.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/cparser.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/setuptools_ext.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/pkgconfig.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/__init__.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/model.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/verifier.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/recompiler.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/ffiplatform.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/error.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/vengine_cpy.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/backend_ctypes.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/vengine_gen.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/lock.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/cffi_opcode.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/api.py -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/_cffi_include.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/parse_c_type.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/_embedding.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! copying cffi/_cffi_errors.h -> build/lib.linux-armv7l-cpython-39/cffinpm ERR! running build_extnpm ERR! building '_cffi_backend' extensionnpm ERR! creating build/temp.linux-armv7l-cpython-39npm ERR! creating build/temp.linux-armv7l-cpython-39/cnpm ERR! arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-armv7l-cpython-39/c/_cffi_backend.onpm ERR! c/_cffi_backend.c:2:10: fatal error: Python.h: No such file or directorynpm ERR! 2 | #include <Python.h>npm ERR! | ^~~~~~~~~~npm ERR! compilation terminated.npm ERR! error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1npm ERR! [end of output]npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.npm ERR! error: legacy-install-failurenpm ERR! npm ERR! × Encountered error while trying to install package.npm ERR! ╰─> cffinpm ERR! npm ERR! note: This is an issue with the package mentioned above, not pip.npm ERR! hint: See above for output from the failure.npm ERR! [end of output]npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.npm ERR! error: subprocess-exited-with-errornpm ERR! npm ERR! × pip subprocess to install build dependencies did not run successfully.npm ERR! │ exit code: 1npm ERR! ╰─> See above for output.npm ERR! npm ERR! note: This error originates from a subprocess, and is likely not a problem with pip.
                                  
                                  npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-09-14T03_36_43_827Z-debug-0.log
                                  
                                  host.iobrokerpi Cannot install iobroker.esphome@0.2.4: 1
                                  
                                  ERROR: Process exited with code 25
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @sticks last edited by Thomas Braun

                                    @sticks

                                    Bei dir fehlen build header.
                                    Da dürfte irgendein python-dev Paket fehlen. Kann dir das aber gerade nicht raussuchen, am Handy ist das doof.

                                    Edit: Installier mal python3-cffi-backend nach.

                                    S 1 Reply Last reply Reply Quote 0
                                    • R
                                      reutli @mac89muc last edited by reutli

                                      @mac89muc

                                      Schau mal hier: https://stackoverflow.com/questions/17548854/difference-between-mac-find-and-linux-find
                                      Verzeichnis muss am Mac mit dazu.

                                      Konkret müsste am Mac also der funktionieren

                                      cd /usr/local/iobroker/node_modules && for i in $(find ./ -type d -iname ".*-*"); do echo ${i%%/}; done
                                      

                                      und dann natürlich adaptieren an den Einzeiler von @Thomas-Braun (also auch löschen 😁

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

                                        @thomas-braun said in Diskussion zum HowTo nodejs-Installation und upgrade:

                                        python3-cffi-backend

                                        Hab jetzt auf meinem Raspi 4 mit apt-get update und "sudo apt-get install python3-cffi-backend" das ganze nachinstalliert.

                                        Es bleibt bei Fehler 25 wenn ich ESPHOME installieren möchte, aber die Log-Ausgabe dazu ist jetzt deutlich kürzer geworden:

                                        $ iobroker add esphome --host iobrokerpi
                                        
                                        NPM version: 8.15.0Installing iobroker.esphome@0.2.4... (System call)
                                        
                                        host.iobrokerpi Cannot install iobroker.esphome@0.2.4: 126
                                        
                                        ERROR: Process exited with code 25
                                        

                                        Was mir zu meiner Recherche zur "Cannot install iobroker.esphome@0.2.4: 126"-Zeile noch aufgefallen ist.
                                        Innerhalb einer SSH-Session führt das Kommando "nodejs -v" zu einer "command not found"-Fehlermeldung.
                                        Wobei iobroker selbst in der Weboberfläche ein installiertes Node.js: v16.17.0 erkennt. - Kann hier die Ursache liegen, oder ist das normal !?

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

                                          @sticks sagte in Diskussion zum HowTo nodejs-Installation und upgrade:

                                          aber die Log-Ausgabe dazu ist jetzt deutlich kürzer geworden:

                                          Ja ... weil dahinter der --debug fehlt

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

                                            @glasfaser

                                            Hast Recht, ist aber auch mit Debug etwas kürzer 😉
                                            Oben hatte ich mit EDIT noch angefügt das ein "nodejs -v" per SSH zu "command not found" führt.
                                            Möglicherweise liegt da irgendwo die Ursache !?

                                            $ iobroker add esphome auto --host iobrokerpi --debug
                                            
                                            NPM version: 8.15.0
                                            
                                            Installing iobroker.esphome@0.2.4... (System call)
                                            
                                            npm ERR! code 126
                                            
                                            npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-09-14T14_04_24_314Z-debug-0.log
                                            
                                            host.iobrokerpi Cannot install iobroker.esphome@0.2.4: 126
                                            
                                            ERROR: Process exited with code 25
                                            

                                            Beim Github-Installer-Paket selbst steht beim automatischen Test-Status übrigens auch "Failing" !?
                                            esphome.png

                                            Glasfaser 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

                                            651
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs
                                            91
                                            844
                                            172368
                                            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