Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [gelöst]Problemsuche error node-gyp ble adapter

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    225

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    580

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

[gelöst]Problemsuche error node-gyp ble adapter

Geplant Angeheftet Gesperrt Verschoben Error/Bug
ble adaptergyp errornode errorpython
44 Beiträge 4 Kommentatoren 4.6k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • HomoranH Homoran

    @coyote es ist etwas snderes Adapter im Beta-Zustand zu testen, als in der produktiven Umgebung einen frühen Controller zu haben.

    coyoteC Offline
    coyoteC Offline
    coyote
    Most Active
    schrieb am zuletzt editiert von
    #32

    @homoran ich bin mir der Sache bewusst. Backups sind genug da, kann ohne Probleme zurück. Ich will ja helfen Fehler zu finden. Habe ich beim vorherigen Controller auch gemacht.
    Es läuft ja auch alles soweit bisher, nur der BLE will nicht richtig bei mir.

    HomoranH 1 Antwort Letzte Antwort
    0
    • coyoteC coyote

      @homoran Sicher, warum denn nicht? Schon ewig.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #33

      @coyote

      iob rebuild iobroker.ble
      

      mal versucht?
      Oder ganze Rolle rückwärts und Adapter deinstallieren und nochmal neu drauf.

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      coyoteC 2 Antworten Letzte Antwort
      0
      • coyoteC coyote

        @homoran ich bin mir der Sache bewusst. Backups sind genug da, kann ohne Probleme zurück. Ich will ja helfen Fehler zu finden. Habe ich beim vorherigen Controller auch gemacht.
        Es läuft ja auch alles soweit bisher, nur der BLE will nicht richtig bei mir.

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #34

        @coyote sagte in Problemsuche error node-gyp ble adapter:

        Es läuft ja auch alles soweit bisher, nur der BLE will nicht richtig bei mir.

        hast du das mal im Betatester Thread für den Controller nachgesehen, oder nachgefragt ob das Problem eher dahr kommt?

        wobei mir die Fehlermeldung so aussieht, als ob du Probleme mit dem Controller hättest.

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @coyote

          iob rebuild iobroker.ble
          

          mal versucht?
          Oder ganze Rolle rückwärts und Adapter deinstallieren und nochmal neu drauf.

          coyoteC Offline
          coyoteC Offline
          coyote
          Most Active
          schrieb am zuletzt editiert von
          #35

          @thomas-braun sagte in Problemsuche error node-gyp ble adapter:

          iob rebuild iobroker.ble

          iob rebuild iobroker.ble
          

          hat nichts gebracht.
          Adapter komplett neu installiert -> läuft :+1:
          Danke für die Hilfe.

          1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @coyote

            iob rebuild iobroker.ble
            

            mal versucht?
            Oder ganze Rolle rückwärts und Adapter deinstallieren und nochmal neu drauf.

            coyoteC Offline
            coyoteC Offline
            coyote
            Most Active
            schrieb am zuletzt editiert von
            #36

            @thomas-braun kann ich noch was machen, wegen dem Fehler vom LG TV Adapter?

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • coyoteC coyote

              @thomas-braun kann ich noch was machen, wegen dem Fehler vom LG TV Adapter?

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #37

              @coyote sagte in Problemsuche error node-gyp ble adapter:

              Fehler vom LG TV Adapter?

              Keine Ahnung. Hab den noch nie gesehen.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              coyoteC 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @coyote sagte in Problemsuche error node-gyp ble adapter:

                Fehler vom LG TV Adapter?

                Keine Ahnung. Hab den noch nie gesehen.

                coyoteC Offline
                coyoteC Offline
                coyote
                Most Active
                schrieb am zuletzt editiert von
                #38

                @thomas-braun

                Das hier meinte ich:

                Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/../node_modules/iobroker.lgtv/io-package.json: /opt/iobroker/node_modules/iobroker.lgtv/io-package.json: Unexpected token } in JSON at position 10582
                Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/../node_modules/iobroker.lgtv/io-package.json: /opt/iobroker/node_modules/iobroker.lgtv/io-package.json: Unexpected token } in JSON at position 10582
                
                

                Wie gesagt, der ist gar nicht mehr installiert

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • coyoteC coyote

                  @thomas-braun

                  Das hier meinte ich:

                  Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/../node_modules/iobroker.lgtv/io-package.json: /opt/iobroker/node_modules/iobroker.lgtv/io-package.json: Unexpected token } in JSON at position 10582
                  Cannot read or parse /opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/../node_modules/iobroker.lgtv/io-package.json: /opt/iobroker/node_modules/iobroker.lgtv/io-package.json: Unexpected token } in JSON at position 10582
                  
                  

                  Wie gesagt, der ist gar nicht mehr installiert

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #39

                  @coyote sagte in Problemsuche error node-gyp ble adapter:

                  /opt/iobroker/node_modules/iobroker.lgtv/io-package.json

                  Ich würde die
                  /opt/iobroker/node_modules/iobroker.lgtv/io-package.json
                  vermutlich löschen.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  1 Antwort Letzte Antwort
                  1
                  • Thomas BraunT Thomas Braun

                    @crunchip

                    Schau mal ob dein Python 'EXTERNALLY_MANAGED' ist.

                    crunchipC Abwesend
                    crunchipC Abwesend
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #40

                    @thomas-braun hab ich umbenannt und danach ble versucht

                    Would you like to upgrade ble from @0.13.3 to @0.13.4 now? [(y)es, (n)o]: y
                    Update ble from @0.13.3 to @0.13.4
                    NPM version: 9.6.7
                    Installing iobroker.ble@0.13.4... (System call)
                    npm ERR! code 1
                    npm ERR! path /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
                    npm ERR! command failed
                    npm ERR! command sh -c node-gyp-build
                    npm ERR! gyp info it worked if it ends with ok
                    npm ERR! gyp info using node-gyp@7.1.2
                    npm ERR! gyp info using node@18.17.0 | linux | x64
                    npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
                    npm ERR! (node:352773) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                    npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
                    npm ERR! gyp info spawn /usr/bin/python3
                    npm ERR! gyp info spawn args [
                    npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                    npm ERR! gyp info spawn args   'binding.gyp',
                    npm ERR! gyp info spawn args   '-f',
                    npm ERR! gyp info spawn args   'make',
                    npm ERR! gyp info spawn args   '-I',
                    npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build/config.gypi',
                    npm ERR! gyp info spawn args   '-I',
                    npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                    npm ERR! gyp info spawn args   '-I',
                    npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.17.0/include/node/common.gypi',
                    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                    npm ERR! gyp info spawn args   '-Dvisibility=default',
                    npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.17.0',
                    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                    npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.17.0/<(target_arch)/node.lib',
                    npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble',
                    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                    npm ERR! gyp info spawn args   '--depth=.',
                    npm ERR! gyp info spawn args   '--no-parallel',
                    npm ERR! gyp info spawn args   '--generator-output',
                    npm ERR! gyp info spawn args   'build',
                    npm ERR! gyp info spawn args   '-Goutput_dir=.'
                    npm ERR! gyp info spawn args ]
                    npm ERR! Traceback (most recent call last):
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
                    npm ERR!     sys.exit(gyp.script_main())
                    npm ERR!              ^^^^^^^^^^^^^^^^^
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
                    npm ERR!     return main(sys.argv[1:])
                    npm ERR!            ^^^^^^^^^^^^^^^^^^
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
                    npm ERR!     return gyp_main(args)
                    npm ERR!            ^^^^^^^^^^^^^^
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
                    npm ERR!     [generator, flat_list, targets, data] = Load(
                    npm ERR!                                             ^^^^^
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
                    npm ERR!     result = gyp.input.Load(
                    npm ERR!              ^^^^^^^^^^^^^^^
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
                    npm ERR!     LoadTargetBuildFile(
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
                    npm ERR!     build_file_data = LoadOneBuildFile(
                    npm ERR!                       ^^^^^^^^^^^^^^^^^
                    npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
                    npm ERR!     build_file_contents = open(build_file_path, "rU").read()
                    npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                    npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
                    npm ERR! gyp ERR! configure error
                    npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
                    npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
                    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
                    npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
                    npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
                    npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                    npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
                    npm ERR! gyp ERR! node -v v18.17.0
                    npm ERR! gyp ERR! node-gyp -v v7.1.2
                    npm ERR! gyp ERR! not ok
                    
                    npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T22_04_18_690Z-debug-0.log
                    upload [5] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/.eslintrc.js .eslintrc.js application/javascript
                    upload [4] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/ble.png ble.png image/png
                    upload [3] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js build/index.js application/javascript
                    upload [2] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js.map build/index.js.map application/json
                    upload [1] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/index_m.html index_m.html text/html
                    upload [0] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/style.css style.css text/css
                    
                    

                    umgestiegen von Proxmox auf Unraid

                    Thomas BraunT crunchipC 2 Antworten Letzte Antwort
                    0
                    • crunchipC crunchip

                      @thomas-braun hab ich umbenannt und danach ble versucht

                      Would you like to upgrade ble from @0.13.3 to @0.13.4 now? [(y)es, (n)o]: y
                      Update ble from @0.13.3 to @0.13.4
                      NPM version: 9.6.7
                      Installing iobroker.ble@0.13.4... (System call)
                      npm ERR! code 1
                      npm ERR! path /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
                      npm ERR! command failed
                      npm ERR! command sh -c node-gyp-build
                      npm ERR! gyp info it worked if it ends with ok
                      npm ERR! gyp info using node-gyp@7.1.2
                      npm ERR! gyp info using node@18.17.0 | linux | x64
                      npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
                      npm ERR! (node:352773) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                      npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
                      npm ERR! gyp info spawn /usr/bin/python3
                      npm ERR! gyp info spawn args [
                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                      npm ERR! gyp info spawn args   'binding.gyp',
                      npm ERR! gyp info spawn args   '-f',
                      npm ERR! gyp info spawn args   'make',
                      npm ERR! gyp info spawn args   '-I',
                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build/config.gypi',
                      npm ERR! gyp info spawn args   '-I',
                      npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                      npm ERR! gyp info spawn args   '-I',
                      npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.17.0/include/node/common.gypi',
                      npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                      npm ERR! gyp info spawn args   '-Dvisibility=default',
                      npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.17.0',
                      npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                      npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.17.0/<(target_arch)/node.lib',
                      npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble',
                      npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                      npm ERR! gyp info spawn args   '--depth=.',
                      npm ERR! gyp info spawn args   '--no-parallel',
                      npm ERR! gyp info spawn args   '--generator-output',
                      npm ERR! gyp info spawn args   'build',
                      npm ERR! gyp info spawn args   '-Goutput_dir=.'
                      npm ERR! gyp info spawn args ]
                      npm ERR! Traceback (most recent call last):
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
                      npm ERR!     sys.exit(gyp.script_main())
                      npm ERR!              ^^^^^^^^^^^^^^^^^
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
                      npm ERR!     return main(sys.argv[1:])
                      npm ERR!            ^^^^^^^^^^^^^^^^^^
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
                      npm ERR!     return gyp_main(args)
                      npm ERR!            ^^^^^^^^^^^^^^
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
                      npm ERR!     [generator, flat_list, targets, data] = Load(
                      npm ERR!                                             ^^^^^
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
                      npm ERR!     result = gyp.input.Load(
                      npm ERR!              ^^^^^^^^^^^^^^^
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
                      npm ERR!     LoadTargetBuildFile(
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
                      npm ERR!     build_file_data = LoadOneBuildFile(
                      npm ERR!                       ^^^^^^^^^^^^^^^^^
                      npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
                      npm ERR!     build_file_contents = open(build_file_path, "rU").read()
                      npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
                      npm ERR! gyp ERR! configure error
                      npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
                      npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
                      npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
                      npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
                      npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
                      npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                      npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
                      npm ERR! gyp ERR! node -v v18.17.0
                      npm ERR! gyp ERR! node-gyp -v v7.1.2
                      npm ERR! gyp ERR! not ok
                      
                      npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T22_04_18_690Z-debug-0.log
                      upload [5] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/.eslintrc.js .eslintrc.js application/javascript
                      upload [4] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/ble.png ble.png image/png
                      upload [3] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js build/index.js application/javascript
                      upload [2] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js.map build/index.js.map application/json
                      upload [1] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/index_m.html index_m.html text/html
                      upload [0] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/style.css style.css text/css
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #41

                      @crunchip

                      Dann schau in das genannte Log rein.

                      Hier schaut's auch nach einem Ansatz 'dirty workaround' aus:

                      https://stackoverflow.com/questions/74715990/node-gyp-err-invalid-mode-ru-while-trying-to-load-binding-gyp

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      crunchipC 2 Antworten Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @crunchip

                        Dann schau in das genannte Log rein.

                        Hier schaut's auch nach einem Ansatz 'dirty workaround' aus:

                        https://stackoverflow.com/questions/74715990/node-gyp-err-invalid-mode-ru-while-trying-to-load-binding-gyp

                        crunchipC Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #42

                        @thomas-braun sagte in Problemsuche error node-gyp ble adapter:

                        schau in das genannte Log rein

                        0 verbose cli /usr/bin/node /usr/bin/npm
                        1 info using npm@9.6.7
                        2 info using node@v18.17.0
                        3 timing npm:load:whichnode Completed in 3ms
                        4 timing config:load:defaults Completed in 4ms
                        5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
                        6 timing config:load:builtin Completed in 1ms
                        7 timing config:load:cli Completed in 5ms
                        8 timing config:load:env Completed in 0ms
                        9 timing config:load:file:/opt/iobroker/.npmrc Completed in 4ms
                        10 timing config:load:project Completed in 6ms
                        11 timing config:load:file:/home/iobroker/.npmrc Completed in 0ms
                        12 timing config:load:user Completed in 1ms
                        13 timing config:load:file:/usr/etc/npmrc Completed in 0ms
                        14 timing config:load:global Completed in 1ms
                        15 timing config:load:setEnvs Completed in 2ms
                        16 timing config:load Completed in 23ms
                        17 timing npm:load:configload Completed in 23ms
                        18 timing npm:load:mkdirpcache Completed in 0ms
                        19 timing npm:load:mkdirplogs Completed in 0ms
                        20 verbose title npm install iobroker.admin@6.6.4
                        21 verbose argv "install" "--save-exact" "iobroker.admin@6.6.4"
                        22 timing npm:load:setTitle Completed in 3ms
                        23 timing config:load:flatten Completed in 10ms
                        24 timing npm:load:display Completed in 12ms
                        25 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2023-07-28T22_14_54_602Z-
                        26 verbose logfile /home/iobroker/.npm/_logs/2023-07-28T22_14_54_602Z-debug-0.log
                        27 timing npm:load:logFile Completed in 22ms
                        28 timing npm:load:timers Completed in 0ms
                        29 timing npm:load:configScope Completed in 0ms
                        30 timing npm:load Completed in 68ms
                        31 timing arborist:ctor Completed in 1ms
                        32 silly logfile start cleaning logs, removing 2 files
                        33 silly logfile done cleaning log files
                        34 timing idealTree:init Completed in 5625ms
                        35 timing idealTree:userRequests Completed in 6ms
                        36 silly idealTree buildDeps
                        37 silly fetch manifest iobroker.admin@6.6.4
                        38 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.vis-2-widgets-energy
                        39 http fetch GET 200 https://registry.npmjs.org/iobroker.admin 5916ms (cache updated)
                        40 silly placeDep ROOT iobroker.admin@6.6.4 REPLACE for: iobroker.inst@3.0.0 want: 6.6.4
                        41 timing idealTree:#root Completed in 6017ms
                        42 timing idealTree:node_modules/iobroker.admin Completed in 0ms
                        43 timing idealTree:buildDeps Completed in 6020ms
                        44 timing idealTree:fixDepFlags Completed in 65ms
                        45 timing idealTree Completed in 11794ms
                        46 timing reify:loadTrees Completed in 11795ms
                        47 timing reify:diffTrees Completed in 115ms
                        48 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.admin' ]
                        49 silly reify moves {
                        49 silly reify   '/opt/iobroker/node_modules/iobroker.admin': '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
                        49 silly reify }
                        50 timing reify:retireShallow Completed in 6ms
                        51 timing reify:createSparse Completed in 4ms
                        52 timing reify:loadBundles Completed in 0ms
                        53 verbose reify failed optional dependency /opt/iobroker/node_modules/osx-temperature-sensor
                        54 silly reify mark deleted [ '/opt/iobroker/node_modules/osx-temperature-sensor' ]
                        55 verbose reify failed optional dependency /opt/iobroker/node_modules/fsevents
                        56 silly reify mark deleted [ '/opt/iobroker/node_modules/fsevents' ]
                        57 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/win32-x64
                        58 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/win32-x64' ]
                        59 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/win32-ia32
                        60 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/win32-ia32' ]
                        61 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/linux-ia32
                        62 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/linux-ia32' ]
                        63 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/linux-arm64
                        64 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/linux-arm64' ]
                        65 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/linux-arm
                        66 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/linux-arm' ]
                        67 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/darwin-x64
                        68 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/darwin-x64' ]
                        69 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffprobe-installer/darwin-arm64
                        70 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffprobe-installer/darwin-arm64' ]
                        71 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/win32-x64
                        72 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/win32-x64' ]
                        73 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/win32-ia32
                        74 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/win32-ia32' ]
                        75 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/linux-ia32
                        76 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/linux-ia32' ]
                        77 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/linux-arm64
                        78 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/linux-arm64' ]
                        79 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/linux-arm
                        80 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/linux-arm' ]
                        81 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/darwin-x64
                        82 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/darwin-x64' ]
                        83 verbose reify failed optional dependency /opt/iobroker/node_modules/@ffmpeg-installer/darwin-arm64
                        84 silly reify mark deleted [ '/opt/iobroker/node_modules/@ffmpeg-installer/darwin-arm64' ]
                        85 timing reifyNode:node_modules/osx-temperature-sensor Completed in 17ms
                        86 timing reifyNode:node_modules/fsevents Completed in 16ms
                        87 timing reifyNode:node_modules/@ffprobe-installer/win32-x64 Completed in 16ms
                        88 timing reifyNode:node_modules/@ffprobe-installer/win32-ia32 Completed in 15ms
                        89 timing reifyNode:node_modules/@ffprobe-installer/linux-ia32 Completed in 15ms
                        90 timing reifyNode:node_modules/@ffprobe-installer/linux-arm64 Completed in 16ms
                        91 timing reifyNode:node_modules/@ffprobe-installer/linux-arm Completed in 16ms
                        92 timing reifyNode:node_modules/@ffprobe-installer/darwin-x64 Completed in 16ms
                        93 timing reifyNode:node_modules/@ffprobe-installer/darwin-arm64 Completed in 16ms
                        94 timing reifyNode:node_modules/@ffmpeg-installer/win32-x64 Completed in 15ms
                        95 timing reifyNode:node_modules/@ffmpeg-installer/win32-ia32 Completed in 15ms
                        96 timing reifyNode:node_modules/@ffmpeg-installer/linux-ia32 Completed in 15ms
                        97 timing reifyNode:node_modules/@ffmpeg-installer/linux-arm64 Completed in 16ms
                        98 timing reifyNode:node_modules/@ffmpeg-installer/linux-arm Completed in 16ms
                        99 timing reifyNode:node_modules/@ffmpeg-installer/darwin-x64 Completed in 16ms
                        100 timing reifyNode:node_modules/@ffmpeg-installer/darwin-arm64 Completed in 16ms
                        101 silly tarball no local data for iobroker.admin@https://registry.npmjs.org/iobroker.admin/-/iobroker.admin-6.6.4.tgz. Extracting by manifest.
                        102 timing reifyNode:node_modules/buildcheck Completed in 109ms
                        103 timing reifyNode:node_modules/cpu-features Completed in 612ms
                        104 http fetch GET 200 https://registry.npmjs.org/iobroker.admin/-/iobroker.admin-6.6.4.tgz 4871ms (cache miss)
                        105 timing reifyNode:node_modules/iobroker.admin Completed in 4897ms
                        106 timing reify:unpack Completed in 4900ms
                        107 timing reify:unretire Completed in 19ms
                        108 timing build:queue Completed in 4ms
                        109 info run cpu-features@0.0.8 install node_modules/cpu-features node buildcheck.js > buildcheck.gypi && node-gyp rebuild
                        110 info run cpu-features@0.0.8 install { code: 1, signal: null }
                        111 verbose reify failed optional dependency /opt/iobroker/node_modules/cpu-features
                        112 silly reify mark deleted [ '/opt/iobroker/node_modules/cpu-features' ]
                        113 verbose reify failed optional dependency /opt/iobroker/node_modules/buildcheck
                        114 silly reify mark deleted [ '/opt/iobroker/node_modules/buildcheck' ]
                        115 timing build:run:install:node_modules/cpu-features Completed in 1175ms
                        116 timing build:run:install Completed in 1177ms
                        117 timing build:deps Completed in 1181ms
                        118 timing build Completed in 1182ms
                        119 timing reify:build Completed in 1184ms
                        120 timing reify:trash Completed in 132ms
                        121 timing reify:save Completed in 2140ms
                        122 timing reify Completed in 21181ms
                        123 silly ADD
                        124 silly ADD
                        125 silly ADD
                        126 silly ADD
                        127 silly ADD
                        128 silly ADD
                        129 silly ADD
                        130 silly ADD
                        131 silly ADD
                        132 silly ADD
                        133 silly ADD
                        134 silly ADD
                        135 silly ADD
                        136 silly ADD
                        137 silly ADD
                        138 silly ADD
                        139 silly ADD
                        140 silly ADD
                        141 silly CHANGE node_modules/iobroker.admin
                        142 timing command:install Completed in 21211ms
                        143 verbose exit 0
                        144 timing npm Completed in 21766ms
                        145 info ok
                        
                        

                        umgestiegen von Proxmox auf Unraid

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @crunchip

                          Dann schau in das genannte Log rein.

                          Hier schaut's auch nach einem Ansatz 'dirty workaround' aus:

                          https://stackoverflow.com/questions/74715990/node-gyp-err-invalid-mode-ru-while-trying-to-load-binding-gyp

                          crunchipC Abwesend
                          crunchipC Abwesend
                          crunchip
                          Forum Testing Most Active
                          schrieb am zuletzt editiert von crunchip
                          #43

                          @thomas-braun sagte in Problemsuche error node-gyp ble adapter:

                          'dirty workaround'

                          morgen in aller frische, bevor ich heut noch etwas kaputt mach

                          @thomas-braun sagte in Problemsuche error node-gyp ble adapter:

                          nach einem Ansatz

                          https://github.com/nodejs/node-gyp/issues/2219

                          umgestiegen von Proxmox auf Unraid

                          1 Antwort Letzte Antwort
                          0
                          • crunchipC crunchip

                            @thomas-braun hab ich umbenannt und danach ble versucht

                            Would you like to upgrade ble from @0.13.3 to @0.13.4 now? [(y)es, (n)o]: y
                            Update ble from @0.13.3 to @0.13.4
                            NPM version: 9.6.7
                            Installing iobroker.ble@0.13.4... (System call)
                            npm ERR! code 1
                            npm ERR! path /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
                            npm ERR! command failed
                            npm ERR! command sh -c node-gyp-build
                            npm ERR! gyp info it worked if it ends with ok
                            npm ERR! gyp info using node-gyp@7.1.2
                            npm ERR! gyp info using node@18.17.0 | linux | x64
                            npm ERR! gyp info find Python using Python version 3.11.2 found at "/usr/bin/python3"
                            npm ERR! (node:352773) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
                            npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
                            npm ERR! gyp info spawn /usr/bin/python3
                            npm ERR! gyp info spawn args [
                            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',
                            npm ERR! gyp info spawn args   'binding.gyp',
                            npm ERR! gyp info spawn args   '-f',
                            npm ERR! gyp info spawn args   'make',
                            npm ERR! gyp info spawn args   '-I',
                            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/build/config.gypi',
                            npm ERR! gyp info spawn args   '-I',
                            npm ERR! gyp info spawn args   '/opt/iobroker/node_modules/node-gyp/addon.gypi',
                            npm ERR! gyp info spawn args   '-I',
                            npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.17.0/include/node/common.gypi',
                            npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                            npm ERR! gyp info spawn args   '-Dvisibility=default',
                            npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.17.0',
                            npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',
                            npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.17.0/<(target_arch)/node.lib',
                            npm ERR! gyp info spawn args   '-Dmodule_root_dir=/opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble',
                            npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                            npm ERR! gyp info spawn args   '--depth=.',
                            npm ERR! gyp info spawn args   '--no-parallel',
                            npm ERR! gyp info spawn args   '--generator-output',
                            npm ERR! gyp info spawn args   'build',
                            npm ERR! gyp info spawn args   '-Goutput_dir=.'
                            npm ERR! gyp info spawn args ]
                            npm ERR! Traceback (most recent call last):
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>
                            npm ERR!     sys.exit(gyp.script_main())
                            npm ERR!              ^^^^^^^^^^^^^^^^^
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_main
                            npm ERR!     return main(sys.argv[1:])
                            npm ERR!            ^^^^^^^^^^^^^^^^^^
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in main
                            npm ERR!     return gyp_main(args)
                            npm ERR!            ^^^^^^^^^^^^^^
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_main
                            npm ERR!     [generator, flat_list, targets, data] = Load(
                            npm ERR!                                             ^^^^^
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Load
                            npm ERR!     result = gyp.input.Load(
                            npm ERR!              ^^^^^^^^^^^^^^^
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Load
                            npm ERR!     LoadTargetBuildFile(
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFile
                            npm ERR!     build_file_data = LoadOneBuildFile(
                            npm ERR!                       ^^^^^^^^^^^^^^^^^
                            npm ERR!   File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFile
                            npm ERR!     build_file_contents = open(build_file_path, "rU").read()
                            npm ERR!                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gyp
                            npm ERR! gyp ERR! configure error
                            npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
                            npm ERR! gyp ERR! stack     at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)
                            npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:514:28)
                            npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
                            npm ERR! gyp ERR! System Linux 6.1.0-10-amd64
                            npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"
                            npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble
                            npm ERR! gyp ERR! node -v v18.17.0
                            npm ERR! gyp ERR! node-gyp -v v7.1.2
                            npm ERR! gyp ERR! not ok
                            
                            npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-07-28T22_04_18_690Z-debug-0.log
                            upload [5] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/.eslintrc.js .eslintrc.js application/javascript
                            upload [4] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/ble.png ble.png image/png
                            upload [3] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js build/index.js application/javascript
                            upload [2] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/build/index.js.map build/index.js.map application/json
                            upload [1] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/index_m.html index_m.html text/html
                            upload [0] ble.admin /opt/iobroker/node_modules/iobroker.ble/admin/style.css style.css text/css
                            
                            
                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #44

                            @crunchip sagte in Problemsuche error node-gyp ble adapter:

                            /opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py

                            hab ich angepasst, von

                            else:
                                        build_file_contents = open(build_file_path, "rU").read()
                            

                            auf

                            else:
                                        build_file_contents = open(build_file_path, "r").read()
                            

                            update lief jetzt durch

                            umgestiegen von Proxmox auf Unraid

                            1 Antwort Letzte Antwort
                            0
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            469

                            Online

                            32.5k

                            Benutzer

                            81.9k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe