Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 3.3 jetzt im STABLE!

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    13
    1
    145

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.3k

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

js-controller 3.3 jetzt im STABLE!

Scheduled Pinned Locked Moved ioBroker Allgemein
344 Posts 61 Posters 99.3k Views 46 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NegaleinN Negalein

    Hallo

    Habe heute den JS-Controller auf 3.3.22 upgedatet.
    Lt. Info ist er jetzt auf 3.3.22
    hosts - ioBroker.png

    Aber ich bekam Fehler beim Update.
    Was haben die zu bedeuten?

    nega@ioBroker:~$ iob upgrade self
    Update js-controller from @3.3.19 to @3.3.22
    NPM version: 6.14.13
    npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
    /bin/sh: 1: cmake: not found
    make: *** [config_deps.target.mk:13: /opt/iobroker/node_modules/cpu-features/deps/cpu_features/build/Makefile] Error 127
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp 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:375:28)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
    gyp ERR! System Linux 5.11.22-5-pve
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
    gyp ERR! node -v v14.17.1
    gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok
    
    
    liv-in-skyL Offline
    liv-in-skyL Offline
    liv-in-sky
    wrote on last edited by liv-in-sky
    #271

    @negalein
    evtl hilft das

    https://forum.iobroker.net/topic/50461/error-bei-adapter-updates-bin-sh-1-cmake-not-foundmake?_=1640161794760

    oder hier

    https://forum.iobroker.net/topic/47576/adapter-updates-fehler-cmake-not-found?_=1640161794767

    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

    NegaleinN 1 Reply Last reply
    1
    • liv-in-skyL liv-in-sky

      @negalein
      evtl hilft das

      https://forum.iobroker.net/topic/50461/error-bei-adapter-updates-bin-sh-1-cmake-not-foundmake?_=1640161794760

      oder hier

      https://forum.iobroker.net/topic/47576/adapter-updates-fehler-cmake-not-found?_=1640161794767

      NegaleinN Offline
      NegaleinN Offline
      Negalein
      Global Moderator
      wrote on last edited by
      #272

      @liv-in-sky sagte in js-controller 3.3 jetzt im STABLE!:

      evtl hilft das

      Merci

      hab gesucht und nichts gefunden.

      Aber hätt ich nach cmake und nicht nach ckmake gesucht, wäre ich fündig geworden! :joy:

      ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
      ° Node.js Fixer ---> iob nodejs-update
      ° Fixer ---> iob fix

      liv-in-skyL 1 Reply Last reply
      0
      • NegaleinN Negalein

        Hallo

        Habe heute den JS-Controller auf 3.3.22 upgedatet.
        Lt. Info ist er jetzt auf 3.3.22
        hosts - ioBroker.png

        Aber ich bekam Fehler beim Update.
        Was haben die zu bedeuten?

        nega@ioBroker:~$ iob upgrade self
        Update js-controller from @3.3.19 to @3.3.22
        NPM version: 6.14.13
        npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
        /bin/sh: 1: cmake: not found
        make: *** [config_deps.target.mk:13: /opt/iobroker/node_modules/cpu-features/deps/cpu_features/build/Makefile] Error 127
        gyp ERR! build error
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp 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:375:28)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
        gyp ERR! System Linux 5.11.22-5-pve
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/cpu-features
        gyp ERR! node -v v14.17.1
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #273

        @negalein

        cmake: not found
        bedeutet, dass das Paket cmake fehlt. Nachinstallieren.

        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

        NegaleinN apollon77A 2 Replies Last reply
        2
        • Thomas BraunT Thomas Braun

          @negalein

          cmake: not found
          bedeutet, dass das Paket cmake fehlt. Nachinstallieren.

          NegaleinN Offline
          NegaleinN Offline
          Negalein
          Global Moderator
          wrote on last edited by
          #274

          @thomas-braun sagte in js-controller 3.3 jetzt im STABLE!:

          cmake: not found
          bedeutet, dass das Paket cmake fehlt. Nachinstallieren.

          schon erledigt :)

          ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
          ° Node.js Fixer ---> iob nodejs-update
          ° Fixer ---> iob fix

          1 Reply Last reply
          0
          • NegaleinN Negalein

            @liv-in-sky sagte in js-controller 3.3 jetzt im STABLE!:

            evtl hilft das

            Merci

            hab gesucht und nichts gefunden.

            Aber hätt ich nach cmake und nicht nach ckmake gesucht, wäre ich fündig geworden! :joy:

            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            wrote on last edited by
            #275

            @negalein

            hatte das problem auch - @Thomas-Braun hatte damals geholfen - daher wußte ich, dass es threads gibt :-)

            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

            1 Reply Last reply
            0
            • crunchipC Away
              crunchipC Away
              crunchip
              Forum Testing Most Active
              wrote on last edited by
              #276

              gerade das update angestoßen, daher nun die Frage, ging da was schief bzw ist das relevant?

              root@IoBroker:~# iob upgrade self
              Update js-controller from @3.3.21 to @3.3.22
              NPM version: 6.14.15
              npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
              In file included from ../src/binding.cc:1:
              /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUN                            CTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)                            ’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/binding.cc:153:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(cpufeatures, init)
               ^~~~~~~~~~~
              
              

              umgestiegen von Proxmox auf Unraid

              Thomas BraunT 1 Reply Last reply
              0
              • crunchipC crunchip

                gerade das update angestoßen, daher nun die Frage, ging da was schief bzw ist das relevant?

                root@IoBroker:~# iob upgrade self
                Update js-controller from @3.3.21 to @3.3.22
                NPM version: 6.14.15
                npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                In file included from ../src/binding.cc:1:
                /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:787:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUN                            CTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)                            ’} [-Wcast-function-type]
                       (node::addon_register_func) (regfunc),                          \
                                                           ^
                /home/iobroker/.cache/node-gyp/14.18.2/include/node/node.h:821:3: note: in expansion of macro ‘NODE_MODULE_X’
                   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                   ^~~~~~~~~~~~~
                ../src/binding.cc:153:1: note: in expansion of macro ‘NODE_MODULE’
                 NODE_MODULE(cpufeatures, init)
                 ^~~~~~~~~~~
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by
                #277

                @crunchip

                Nö, das ist normaler Output beim bauen von nodejs-Modulen.

                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 Reply Last reply
                2
                • Thomas BraunT Thomas Braun

                  @negalein

                  cmake: not found
                  bedeutet, dass das Paket cmake fehlt. Nachinstallieren.

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  wrote on last edited by
                  #278

                  @thomas-braun Wir werden es im Installer hinzufügen

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  Thomas BraunT 1 Reply Last reply
                  0
                  • apollon77A apollon77

                    @thomas-braun Wir werden es im Installer hinzufügen

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    wrote on last edited by
                    #279

                    @apollon77

                    Okay. Hab noch nicht geschaut wer da immer nach cmake ruft. Auf meinem System (Raspberrry 4 / 8 GB) ist es jedenfalls nicht 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

                    apollon77A 1 Reply Last reply
                    0
                    • Thomas BraunT Thomas Braun

                      @apollon77

                      Okay. Hab noch nicht geschaut wer da immer nach cmake ruft. Auf meinem System (Raspberrry 4 / 8 GB) ist es jedenfalls nicht drauf.

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      wrote on last edited by apollon77
                      #280

                      @thomas-braun Ein nerviges Modul node_modules/cpu-features ... https://github.com/mscdex/cpu-features/issues/1#issuecomment-930124519 :-)

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      Thomas BraunT 1 Reply Last reply
                      1
                      • apollon77A apollon77

                        @thomas-braun Ein nerviges Modul node_modules/cpu-features ... https://github.com/mscdex/cpu-features/issues/1#issuecomment-930124519 :-)

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #281

                        @apollon77

                        Das kommt direkt aus der nodeJS-Runtime?

                        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

                        apollon77A 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @apollon77

                          Das kommt direkt aus der nodeJS-Runtime?

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          wrote on last edited by
                          #282

                          @thomas-braun Nee. ein npm Modul was dann irgend wo drin ist und dann in irgendeinam adapter benötigt wird nutzt cmake um seinen binären Teil zu "Builden" ... aber keiner braucht bisher cmake also ists in keinen build-essentials Paketen und nirgends sonst drin

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          Thomas BraunT 1 Reply Last reply
                          0
                          • apollon77A apollon77

                            @thomas-braun Nee. ein npm Modul was dann irgend wo drin ist und dann in irgendeinam adapter benötigt wird nutzt cmake um seinen binären Teil zu "Builden" ... aber keiner braucht bisher cmake also ists in keinen build-essentials Paketen und nirgends sonst drin

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #283

                            @apollon77

                            Ja, cmake ist schon etwas 'exotisch'.

                            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

                            apollon77A 1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @apollon77

                              Ja, cmake ist schon etwas 'exotisch'.

                              apollon77A Offline
                              apollon77A Offline
                              apollon77
                              wrote on last edited by
                              #284

                              @thomas-braun Jupp. Ich glaube es kommt "zu uns" über ein npm modul wie ssh2 oder so was einige User im JavaScript Adapter nutzen :-)

                              Der Installer/Fixer wird im Rahmen des Controller 4.0 Releases cmake mit als dep dazu bekommen und so überall installieren.

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              1 Reply Last reply
                              0
                              • H Offline
                                H Offline
                                hegse
                                wrote on last edited by hegse
                                #285

                                Gerade das Update auf die aktuellste Version gemacht.
                                Bekomme folgende Meldung angezeigt:

                                hegse@Iobroker:~$ iobroker upgrade self
                                Update js-controller from @3.3.21 to @3.3.22
                                NPM version: 6.14.15
                                npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                In file included from ../authenticate_pam.cc:23:
                                ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                ../../nan/nan.h:2294:7: 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]
                                 2294 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
                                ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                  107 |   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                      |                                                                                       ^
                                In file included from ../authenticate_pam.cc:23:
                                ../../nan/nan.h:1026:46: note: declared here
                                 1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                      |                                              ^~~~~~~~~~~~
                                ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                ../authenticate_pam.cc:147:83: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
                                  147 |   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                      |                                                                                   ^
                                In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                 from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
                                 3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                      |                                           ^~~
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
                                 3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                      |                                           ^~~
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
                                ../authenticate_pam.cc:150:30: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                  150 |    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                      |                           ~~~^~~~~~~~~~~
                                      |                              |
                                      |                              char [128]
                                In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                 from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                      |                 ~~~~~~~~~^~~~~~~
                                ../authenticate_pam.cc:152:69: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
                                  152 |   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                      |                                                                     ^
                                In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                 from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
                                 3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                      |                                           ^~~
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
                                 3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                      |                                           ^~~
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
                                ../authenticate_pam.cc:155:29: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                  155 |    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                      |                          ~~~^~~~~~~~~~
                                      |                             |
                                      |                             char [128]
                                In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                 from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                      |                 ~~~~~~~~~^~~~~~~
                                ../authenticate_pam.cc:160:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                  160 |  username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                      |                      ~~~^~~~~~~~
                                      |                         |
                                      |                         char [128]
                                In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                 from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                      |                 ~~~~~~~~~^~~~~~~
                                ../authenticate_pam.cc:161:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                  161 |  password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                      |                      ~~~^~~~~~~~
                                      |                         |
                                      |                         char [128]
                                In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                 from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                      |                 ~~~~~~~~~^~~~~~~
                                ../authenticate_pam.cc: At global scope:
                                ../authenticate_pam.cc:170:6: error: variable or field ‘init’ declared void
                                  170 | void init(Handle<Object> exports) {
                                      |      ^~~~
                                ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                                  170 | void init(Handle<Object> exports) {
                                      |           ^~~~~~
                                ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
                                  170 | void init(Handle<Object> exports) {
                                      |                        ^
                                ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
                                  170 | void init(Handle<Object> exports) {
                                      |                          ^~~~~~~
                                In file included from ../../nan/nan.h:56,
                                                 from ../authenticate_pam.cc:23:
                                ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope; did you mean ‘int’?
                                  175 | NODE_MODULE(authenticate_pam, init);
                                      |                               ^~~~
                                /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:36: note: in definition of macro ‘NODE_MODULE_X’
                                  787 |       (node::addon_register_func) (regfunc),                          \
                                      |                                    ^~~~~~~
                                ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
                                  175 | NODE_MODULE(authenticate_pam, init);
                                      | ^~~~~~~~~~~
                                make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                                gyp ERR! build error
                                gyp ERR! stack Error: `make` failed with exit code: 2
                                gyp 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:400:28)
                                gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                                gyp ERR! System Linux 5.10.0-9-amd64
                                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
                                gyp ERR! node -v v14.18.1
                                gyp ERR! node-gyp -v v5.1.0
                                gyp ERR! not ok
                                

                                Soweit läuft alles nach dem Update.

                                Thomas BraunT 1 Reply Last reply
                                0
                                • H hegse

                                  Gerade das Update auf die aktuellste Version gemacht.
                                  Bekomme folgende Meldung angezeigt:

                                  hegse@Iobroker:~$ iobroker upgrade self
                                  Update js-controller from @3.3.21 to @3.3.22
                                  NPM version: 6.14.15
                                  npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                  In file included from ../authenticate_pam.cc:23:
                                  ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                  ../../nan/nan.h:2294:7: 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]
                                   2294 |     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                        |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                  ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
                                  ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                    107 |   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                        |                                                                                       ^
                                  In file included from ../authenticate_pam.cc:23:
                                  ../../nan/nan.h:1026:46: note: declared here
                                   1026 |   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                        |                                              ^~~~~~~~~~~~
                                  ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
                                  ../authenticate_pam.cc:147:83: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
                                    147 |   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                        |                                                                                   ^
                                  In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                   from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
                                   3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                        |                                           ^~~
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
                                   3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                        |                                           ^~~
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
                                  ../authenticate_pam.cc:150:30: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                    150 |    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                        |                           ~~~^~~~~~~~~~~
                                        |                              |
                                        |                              char [128]
                                  In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                   from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                        |                 ~~~~~~~~~^~~~~~~
                                  ../authenticate_pam.cc:152:69: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
                                    152 |   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                        |                                                                     ^
                                  In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                   from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
                                   3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                        |                                           ^~~
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
                                   3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                                        |                                           ^~~
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
                                  ../authenticate_pam.cc:155:29: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                    155 |    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                        |                          ~~~^~~~~~~~~~
                                        |                             |
                                        |                             char [128]
                                  In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                   from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                        |                 ~~~~~~~~~^~~~~~~
                                  ../authenticate_pam.cc:160:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                    160 |  username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                        |                      ~~~^~~~~~~~
                                        |                         |
                                        |                         char [128]
                                  In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                   from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                        |                 ~~~~~~~~~^~~~~~~
                                  ../authenticate_pam.cc:161:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
                                    161 |  password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                        |                      ~~~^~~~~~~~
                                        |                         |
                                        |                         char [128]
                                  In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                                                   from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                                        |                 ~~~~~~~~~^~~~~~~
                                  ../authenticate_pam.cc: At global scope:
                                  ../authenticate_pam.cc:170:6: error: variable or field ‘init’ declared void
                                    170 | void init(Handle<Object> exports) {
                                        |      ^~~~
                                  ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                                    170 | void init(Handle<Object> exports) {
                                        |           ^~~~~~
                                  ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
                                    170 | void init(Handle<Object> exports) {
                                        |                        ^
                                  ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
                                    170 | void init(Handle<Object> exports) {
                                        |                          ^~~~~~~
                                  In file included from ../../nan/nan.h:56,
                                                   from ../authenticate_pam.cc:23:
                                  ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope; did you mean ‘int’?
                                    175 | NODE_MODULE(authenticate_pam, init);
                                        |                               ^~~~
                                  /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:36: note: in definition of macro ‘NODE_MODULE_X’
                                    787 |       (node::addon_register_func) (regfunc),                          \
                                        |                                    ^~~~~~~
                                  ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
                                    175 | NODE_MODULE(authenticate_pam, init);
                                        | ^~~~~~~~~~~
                                  make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                                  gyp ERR! build error
                                  gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp 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:400:28)
                                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
                                  gyp ERR! System Linux 5.10.0-9-amd64
                                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
                                  gyp ERR! node -v v14.18.1
                                  gyp ERR! node-gyp -v v5.1.0
                                  gyp ERR! not ok
                                  

                                  Soweit läuft alles nach dem Update.

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #286

                                  @hegse
                                  Ist da zufällig der Adapter terminal installiert? Dann schmeiß den raus.

                                  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

                                  H 1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @hegse
                                    Ist da zufällig der Adapter terminal installiert? Dann schmeiß den raus.

                                    H Offline
                                    H Offline
                                    hegse
                                    wrote on last edited by
                                    #287

                                    @thomas-braun ja der ist installiert.
                                    Alles klar, dann schmeiß ich den mal raus. Besten Dank!

                                    1 Reply Last reply
                                    0
                                    • B Offline
                                      B Offline
                                      BlueEssi
                                      wrote on last edited by
                                      #288

                                      Hallo zusammen, ist die Liste der inkompatiblen Adapter am Thread-Anfang immer noch aktuell? Ich habe inzwischen leider das Problem, dass 3-4 meiner Adapter auf dieser Liste stehen, aber andere Adapter das Upgrade voraussetzen um auf den aktuellen Stand aufzurüsten.

                                      apollon77A 1 Reply Last reply
                                      0
                                      • B BlueEssi

                                        Hallo zusammen, ist die Liste der inkompatiblen Adapter am Thread-Anfang immer noch aktuell? Ich habe inzwischen leider das Problem, dass 3-4 meiner Adapter auf dieser Liste stehen, aber andere Adapter das Upgrade voraussetzen um auf den aktuellen Stand aufzurüsten.

                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #289

                                        @blueessi Die Aussage geht anders rum: Folgende Adapter müssen aktualisiert werden weil sie in den damals aktuellen Versionen nicht vollständig kompatibel waren.

                                        Das hat mit "eine neue version des Adapters braucht bitte js.cotnroller in Version X" nichts zu tun. Das soll verhindern das Du dir dein System kaputt machst

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        B 1 Reply Last reply
                                        0
                                        • apollon77A apollon77

                                          @blueessi Die Aussage geht anders rum: Folgende Adapter müssen aktualisiert werden weil sie in den damals aktuellen Versionen nicht vollständig kompatibel waren.

                                          Das hat mit "eine neue version des Adapters braucht bitte js.cotnroller in Version X" nichts zu tun. Das soll verhindern das Du dir dein System kaputt machst

                                          B Offline
                                          B Offline
                                          BlueEssi
                                          wrote on last edited by
                                          #290

                                          @apollon77 Das beantwortet leider nicht meine Frage. Wie bekomme ich raus, ob meine benötigten Adapter mit 3.3 kompatibel sind?

                                          Thomas BraunT apollon77A 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          546

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe