Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Hilfe] Fehler beim Update von Adaptern

    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

    [Hilfe] Fehler beim Update von Adaptern

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      webseb79 last edited by

      Hallo,
      ich habe ein Intel Nuc mit Proxmox und einer VM für ioBroker.
      Jetzt habe ich ein paar Adapter aktualisiert und jedesmal kommt folgende Meldung.

      $ ./iobroker upgrade web
      Update web from @3.0.8 to @3.0.9
      host.ioBroker Adapter "system.adapter.web.0" is stopped.
      NPM version: 6.14.4
      npm install iobroker.web@3.0.9 --loglevel error --prefix "/opt/iobroker" (System call)
      In file included from ../src/DeviceINQ.h:17,                 from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
      ../src/linux/BluetoothSerialPort.cc: At global scope:../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void void InitAll(Handle<Object> exports) {              ^~~~~~../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope
      ../src/linux/BluetoothSerialPort.cc:18:14: note: suggested alternative: ‘rand_r’ void InitAll(Handle<Object> exports) {              ^~~~~~              rand_r../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token void InitAll(Handle<Object> exports) {                           ^../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope void InitAll(Handle<Object> exports) {                             ^~~~~~~
      In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope NODE_MODULE(BluetoothSerialPort, InitAll)                                  ^~~~~~~/home/iobroker/.cache/node-gyp/12.18.0/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~
      make: *** [BluetoothSerialPort.target.mk:117: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1
      gyp
       ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
      gyp ERR! System Linux 4.19.0-9-amd64gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v12.18.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
      

      Kann jemand etwas dazu sagen?

      Danke im voraus

      Sebastian

      1 Reply Last reply Reply Quote 0
      • W
        w00dy last edited by

        Die Meldung "gyp ERR!" kommt bei mir, und ich ich denke bei vielen anderen, auch regelmäßig. Solange das Update am Ende mit "Code 0" durchläuft ist alles i. O.

        arteck 1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active @w00dy last edited by

          @w00dy genau so ist es

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Support us

          ioBroker
          Community Adapters
          Donate
          FAQ Cloud / IOT
          HowTo: Node.js-Update
          HowTo: Backup/Restore
          Downloads
          BLOG

          916
          Online

          31.9k
          Users

          80.1k
          Topics

          1.3m
          Posts

          adapter fehler update
          3
          3
          279
          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