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 coyote

      Also die 0.13.4 bekomme ich installiert. Bin auf Node 18, habe aber auch den Beta js-controller drauf.
      Adapter ist zwar grün, aber Werte werden nicht aktualisiert und bekomme beim Starten folgendes im Log.

      Cannot find module '../build/Release/bluetooth_hci_socket.node' Require stack: - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/index.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/hci.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/resolve-bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/with-custom-binding.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/index.js - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
      

      Adapter version: 0.13.4
      JS-Controller version: 5.0.9
      Node version: 18.17.0
      Operating system: Debian 12 bookworm

      Bin mir jetzt unschlüssig ob es an node 18 oder js-controller beta liegt.
      Habt ihr ne Idee? Und sorry @crunchip wenn ich deinen Thread kapere. Mache auch gerne einen neuen auf.

      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:

        Bin mir jetzt unschlüssig ob es an node 18 oder js-controller beta liegt.

        Weder noch. Die Version läuft hier nämlich 1a.

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

          @thomas-braun also node 18 mit js-controller beta und BLE in Version 0.13.4 ?
          Dann hau mal raus, woran es bei mir liegt 😁

          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:

            Dann hau mal raus, woran es bei mir liegt

            Dann hau du raus wie du da genau unterwegs bist.

            iob diag
            

            sagt?

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

              @thomas-braun gefunden, ja gibt es
              Guck ich mir dann heut abend an, bis aktuell nur mit dem Handy unterwegs

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

                @thomas-braun

                ======================= SUMMARY =======================
                                     v.2023-04-16
                
                
                Operatingsystem:        Debian GNU/Linux 12 (bookworm)
                Kernel:                 6.1.0-10-amd64
                Installation:           kvm
                Timezone:               Europe/Berlin (CEST, +0200)
                User-ID:                1000
                X-Server:               false
                Boot Target:            graphical.target
                
                Pending OS-Updates:     3
                Pending iob updates:    2
                
                Nodejs-Installation:    /usr/bin/nodejs         v18.17.0
                                        /usr/bin/node           v18.17.0
                                        /usr/bin/npm            9.6.7
                                        /usr/bin/npx            9.6.7
                
                Recommended versions are nodejs 18.x.y and npm 9.x.y
                Your nodejs installation is correct
                
                MEMORY: 
                               total        used        free      shared  buff/cache   available
                Mem:            8.3G        6.9G        528M        507K        1.3G        1.5G
                Swap:           1.0G        536K        1.0G
                Total:          9.3G        6.9G        1.6G
                
                Active iob-Instances:   45
                Active repo(s): beta
                
                ioBroker Core:          js-controller           5.0.9
                                        admin                   6.6.1
                
                ioBroker Status:        iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Status admin and web instance:
                + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 192.168.66.68, run as: admin
                
                Objects:                39961
                States:                 38717
                
                Size of iob-Database:
                
                32M     /opt/iobroker/iobroker-data/objects.jsonl
                27M     /opt/iobroker/iobroker-data/objects.json.migrated
                27M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                55M     /opt/iobroker/iobroker-data/states.jsonl
                12M     /opt/iobroker/iobroker-data/states.json.migrated
                12M     /opt/iobroker/iobroker-data/states.json.bak.migrated
                0       /opt/iobroker/iobroker-data/states.json.broken
                
                
                
                =================== END OF SUMMARY ====================
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @coyote last edited by

                  @coyote

                  Gibt es die Datei

                  /usr/lib/python3.x/EXTERNALLY-MANAGED

                  bei dir? x ggf. durch die python-Version ersetzen.

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

                    @thomas-braun ja gibt es. Bei mir dann Version 3.11

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

                      @coyote Dann schieb die Datei da mal weg.

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

                        @thomas-braun Egal wohin?

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

                          @thomas-braun so, hab sie mal nach /tmp geschoben und nun?

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

                            @coyote

                            Ja.

                            sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGEDbackup
                            

                            wird wohl schon reichen.

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

                              @coyote

                              Nicht nach /tmp. Da hast du als user eigentlich auch nix zu suchen.

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

                                @thomas-braun erledigt!
                                Wie gehts jetzt weiter? Bekomme beim Start des BLE Adapters immer noch:

                                
                                ble.0
                                2023-07-28 18:13:45.016	error	Cannot find module '../build/Release/bluetooth_hci_socket.node' Require stack: - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/index.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/hci.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/resolve-bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/with-custom-binding.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/index.js - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @coyote last edited by

                                  @coyote

                                  iob update
                                  iob upgrade ble@0.13.4
                                  
                                  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:

                                    iob upgrade ble@0.13.4

                                    Gleicher Fehler

                                    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:

                                      Gleicher Fehler

                                      Immer vollständige Ein- und Ausgaben zeigen.

                                      coyote 1 Reply Last reply Reply Quote 0
                                      • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            438
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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