Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst]Problemsuche error node-gyp ble adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

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

      @thomas-braun

      coyote@ioBroker:~$ iob update
      Used repository: beta
      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
      Adapter    "admin"        : 6.6.4    , installed 6.6.4
      Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
      Adapter    "ble"          : 0.13.4   , installed 0.13.4
      Adapter    "daswetter"    : 3.1.8    , installed 3.1.8
      Adapter    "devices"      : 1.1.5    , installed 1.1.5
      Adapter    "dwd"          : 2.8.5    , installed 2.8.5
      Adapter    "ecovacs-deebot": 1.4.13  , installed 1.4.13
      Adapter    "esphome"      : 0.2.4    , installed 0.2.4
      Adapter    "eusec"        : 1.0.0    , installed 1.0.0
      Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
      Adapter    "frigate"      : 0.2.5    , installed 0.2.5
      Adapter    "heatingcontrol": 2.11.0  , installed 2.11.0
      Adapter    "history"      : 2.2.4    , installed 2.2.4
      Adapter    "hm-rega"      : 3.0.46   , installed 3.0.46
      Adapter    "hm-rpc"       : 1.15.18  , installed 1.15.18
      Adapter    "ical"         : 1.13.3   , installed 1.13.3
      Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
      Adapter    "icons-material-png": 0.1.0, installed 0.1.0
      Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
      Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
      Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
      Adapter    "iqontrol"     : 2.3.0    , installed 2.3.0
      Adapter    "jarvis"       : 3.1.8    , installed 3.1.8
      Adapter    "javascript"   : 7.1.1    , installed 7.1.1
      Controller "js-controller": 5.0.9    , installed 5.0.9
      Adapter    "linux-control": 1.1.5    , installed 1.1.5
      Adapter    "modbus"       : 5.0.11   , installed 5.0.11
      Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
      Adapter    "mytime"       : 0.7.12   , installed 0.7.12
      Adapter    "netatmo"      : 3.1.0    , installed 3.1.0
      Adapter    "node-red"     : 4.0.3    , installed 4.0.3
      Adapter    "opendtu"      : 0.1.7    , installed 0.1.7
      Adapter    "operating-hours": 1.0.4  , installed 1.0.4
      Adapter    "ph803w"       : 1.1.1    , installed 1.1.1
      Adapter    "ping"         : 1.6.2    , installed 1.6.2
      Adapter    "shelly"       : 6.4.1    , installed 6.4.1
      Adapter    "shuttercontrol": 1.6.1   , installed 1.6.1
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
      Adapter    "socketio"     : 6.4.0    , installed 6.4.0
      Adapter    "solarmanpv"   : 0.5.0    , installed 0.5.0
      Adapter    "sonoff"       : 2.5.7    , installed 2.5.7
      Adapter    "sourceanalytix": 0.4.14  , installed 0.4.14
      Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
      Adapter    "telegram"     : 1.16.0   , installed 1.16.0
      Adapter    "trashschedule": 2.2.0    , installed 2.2.0
      Adapter    "unifi"        : 0.6.6    , installed 0.6.6
      Adapter    "vis"          : 1.4.16   , installed 1.4.16
      Adapter    "vis-2-widgets-gauges": 0.2.0, installed 0.2.0
      Adapter    "vis-2-widgets-material": 0.8.2, installed 0.8.2
      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
      Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
      Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
      Adapter    "vis-hqwidgets": 1.4.0    , installed 1.4.0
      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
      Adapter    "vis-justgage" : 1.0.2    , installed 1.0.2
      Adapter    "vis-material" : 0.1.3    , installed 0.1.3
      Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
      Adapter    "vis-plumb"    : 1.0.2    , installed 1.0.2
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
      Adapter    "web"          : 6.0.3    , installed 6.0.3
      Adapter    "wiffi-wz"     : 2.2.1    , installed 2.2.1
      Adapter    "wled"         : 0.7.0    , installed 0.7.0
      Adapter    "worx"         : 2.3.2    , installed 2.3.2
      Adapter    "ws"           : 2.4.0    , installed 2.4.0
      Adapter    "yahka"        : 1.0.3    , installed 1.0.3
      Adapter    "zigbee"       : 1.8.18   , installed 1.8.18
      coyote@ioBroker:~$ iob upgrade ble@0.13.4
      Would you like to reinstall version 0.13.4 of ble now? [(y)es, (n)o]: y
      Update ble from @0.13.4 to @0.13.4
      NPM version: 9.6.7
      Installing iobroker.ble@0.13.4... (System call)
      
      up to date in 10s
      
      158 packages are looking for funding
        run `npm fund` for details
      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 Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @coyote last edited by

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

        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

        Da ist ja auch noch anderes schief...

        coyote Homoran 2 Replies Last reply Reply Quote 0
        • coyote
          coyote Most Active @Thomas Braun last edited by

          @thomas-braun das habe ich auch gerade erst gesehen, den Adapter habe ich gestern über die GUI deinstalliert

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

            @coyote

            cd /opt/iobroker && npm ls -a | grep ERR
            
            coyote 1 Reply Last reply Reply Quote 0
            • coyote
              coyote Most Active @Thomas Braun last edited by

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

              cd /opt/iobroker && npm ls -a | grep ERR

              das kommt nix, Ausgabe ist leer

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

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

                das kommt nix, Ausgabe ist leer

                IMMER vollständige Ein- wie Ausgaben zeigen...
                Nix nacherzählen...

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

                  @thomas-braun

                  coyote@ioBroker:~$ cd /opt/iobroker && npm ls -a | grep ERR
                  coyote@ioBroker:/opt/iobroker$ 
                  
                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Thomas Braun last edited by

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

                    /js-controller

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

                    Controller "js-controller": 5.0.9 , installed 5.0.9

                    Beta-Tester!

                    coyote 1 Reply Last reply Reply Quote 0
                    • coyote
                      coyote Most Active @Homoran last edited by

                      @homoran Sicher, warum denn nicht? Schon ewig.

                      Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @coyote last edited by

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

                        coyote 1 Reply Last reply Reply Quote 0
                        • coyote
                          coyote Most Active @Homoran last edited by

                          @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.

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

                            @coyote

                            iob rebuild iobroker.ble
                            

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

                            coyote 2 Replies Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @coyote last edited by

                              @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.

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

                                @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 👍
                                Danke für die Hilfe.

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

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

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

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

                                    Fehler vom LG TV Adapter?

                                    Keine Ahnung. Hab den noch nie gesehen.

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

                                      @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 Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @coyote last edited by

                                        @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.

                                        1 Reply Last reply Reply Quote 1
                                        • crunchip
                                          crunchip Forum Testing Most Active @Thomas Braun last edited by

                                          @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 Braun crunchip 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @crunchip last edited by 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

                                            crunchip 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            768
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            ble adapter gyp error node error python
                                            4
                                            44
                                            1827
                                            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